優先順位・改善・タスク管理

projects

orc projects は、WorkspaceのProjectを作成し、担当者・日付・優先度などの計画を更新し、進捗の集計を確認するコマンドです。不要なProjectはアーカイブし、後から復元できます。

実行には認証とWorkspaceの選択が必要です。作成時の project_key はWorkspace内で一意な検索キーで、更新では変更できません。get、update、archive、restore にはこのキーを指定します。

使い方

terminal
orc projects list --json

WorkspaceのProjectを一覧にします。

サブコマンド

list

Projectを一覧にします。--include-archived でアーカイブ済みも含め、ページ数は --limit と --cursor で指定できます。

terminal
orc projects list [options]

固有のオプション

--workspace-id

Workspace context. Organization-scoped credentials must supply a workspace in their organization. Workspace-scoped API keys remain bound to their authenticated workspace; this value cannot redirect them to another workspace.

型: string。任意。

terminal
orc projects list --workspace-id <value>
--include-archived

Include archived projects in the response.; enum: true|false

型: string。任意。

terminal
orc projects list --include-archived <value>

create

project_key と name を指定して作成します。作成時に状態を省略すると planned になります。同じWorkspaceの initiative_id や、マイルストーンのJSONを併せて指定できます。

terminal
orc projects create [options]

固有のオプション

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

型: string。任意。

terminal
orc projects create --idempotency-key <value>
--project-key

(required) Project lookup key, unique within the workspace. Must not contain slash, backslash or two consecutive dots. This key cannot be changed through the update endpoint.

型: string。任意。

terminal
orc projects create --project-key <value>
--name

(required) Display name.

型: string。任意。

terminal
orc projects create --name <value>
--status

Project lifecycle status. Omitted on creation, it defaults to planned.; enum: planned|in_progress|paused|completed|canceled

型: string。任意。

terminal
orc projects create --status <value>
--priority

Project priority; null means unassigned.; enum: urgent|high|medium|low; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --priority <value>
--lead-id

Active workspace member id of the project lead. null means no lead is assigned.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --lead-id <value>
--start-date

Planned start as YYYY, YYYY-MM or YYYY-MM-DD. This is a calendar value, not a timestamp. null clears it.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --start-date <value>
--target-date

Target completion as YYYY, YYYY-MM or YYYY-MM-DD. This is a calendar value, not a timestamp. null clears it.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --target-date <value>
--member-ids

Active workspace member ids assigned to this project. The array replaces the current assignment on update; an empty array clears it. These assignments do not define the workspace access boundary.; csv

型: string。任意。

terminal
orc projects create --member-ids <value>
--labels

Project label values. The array replaces current labels on update; an empty array clears them. At most one label from each configured label group may be selected.; csv

型: string。任意。

terminal
orc projects create --labels <value>
--start-precision

Presentation precision for the planned start date. null leaves the precision unspecified.; enum: day|month|quarter|half_year|year; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --start-precision <value>
--target-precision

Presentation precision for the target date. null leaves the precision unspecified.; enum: day|month|quarter|half_year|year; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --target-precision <value>
--summary

Short project summary, separate from the detailed description. Null or empty clears it.; (use "null" or "reset" to clear); max 1000 chars

型: string。任意。

terminal
orc projects create --summary <value>
--description

Optional description.

型: string。任意。

terminal
orc projects create --description <value>
--workspace-id

Workspace context. Organization-scoped credentials must supply a workspace in their organization. Workspace-scoped API keys remain bound to their authenticated workspace; this value cannot redirect them to another workspace.

型: string。任意。

terminal
orc projects create --workspace-id <value>
--initiative-id

Optional parent Initiative ID in the same Workspace.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --initiative-id <value>
--milestone

Optional embedded project milestone. Supply both name and date; omission or null stores no milestone. This does not create a record in the project milestones collection.

型: string。任意。

terminal
orc projects create --milestone <value>
--display-order

Project list ordering value; smaller values come first and equal values are ordered by projectKey. Creation appends after the current largest value when omitted.

型: number。任意。

terminal
orc projects create --display-order <value>
--color-token

Visual identity color token. Creation defaults to default when omitted.; enum: default|gray|brown|orange|yellow|green|blue|purple|pink|red

型: string。任意。

terminal
orc projects create --color-token <value>
--identity-kind

Visual identity mode. Creation defaults to initial when omitted.; enum: color|initial|icon|emoji|image

型: string。任意。

terminal
orc projects create --identity-kind <value>
--icon-token

Icon token used with identity_kind=icon. null clears the stored token.; (use "null" or "reset" to clear); max 64 chars

型: string。任意。

terminal
orc projects create --icon-token <value>
--emoji

Emoji used with identity_kind=emoji. null clears the stored emoji.; (use "null" or "reset" to clear); max 32 chars

型: string。任意。

terminal
orc projects create --emoji <value>
--image-file-id

Uploaded image file id used with identity_kind=image. null clears the reference.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects create --image-file-id <value>

get

Projectの検索キーを指定して詳細を取得します。組織スコープの認証情報では、必要に応じて --workspace-id で対象Workspaceを指定します。

terminal
orc projects get <key> [options]

固有のオプション

--workspace-id

Workspace context. Organization-scoped credentials must supply a workspace in their organization. Workspace-scoped API keys remain bound to their authenticated workspace; this value cannot redirect them to another workspace.

型: string。任意。

terminal
orc projects get <key> --workspace-id <value>

update

名前、状態、優先度、担当者、日付、表示順、見た目やInitiativeへの所属を更新します。visibility は workspace または private の保存メタデータですが、このAPIの読み取り権限はWorkspace単位であり、private は別のメンバーアクセス境界を作りません。

terminal
orc projects update <key> [options]

固有のオプション

--workspace-id

Workspace context. Organization-scoped credentials must supply a workspace in their organization. Workspace-scoped API keys remain bound to their authenticated workspace; this value cannot redirect them to another workspace.

型: string。任意。

terminal
orc projects update <key> --workspace-id <value>
--name

Project display name.

型: string。任意。

terminal
orc projects update <key> --name <value>
--status

Project lifecycle status. Omitted on creation, it defaults to planned.; enum: planned|in_progress|paused|completed|canceled

型: string。任意。

terminal
orc projects update <key> --status <value>
--priority

Project priority; null means unassigned.; enum: urgent|high|medium|low; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --priority <value>
--lead-id

Active workspace member id of the project lead. null means no lead is assigned.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --lead-id <value>
--start-date

Planned start as YYYY, YYYY-MM or YYYY-MM-DD. This is a calendar value, not a timestamp. null clears it.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --start-date <value>
--target-date

Target completion as YYYY, YYYY-MM or YYYY-MM-DD. This is a calendar value, not a timestamp. null clears it.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --target-date <value>
--member-ids

Active workspace member ids assigned to this project. The array replaces the current assignment on update; an empty array clears it. These assignments do not define the workspace access boundary.; csv

型: string。任意。

terminal
orc projects update <key> --member-ids <value>
--labels

Project label values. The array replaces current labels on update; an empty array clears them. At most one label from each configured label group may be selected.; csv

型: string。任意。

terminal
orc projects update <key> --labels <value>
--start-precision

Presentation precision for the planned start date. null leaves the precision unspecified.; enum: day|month|quarter|half_year|year; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --start-precision <value>
--target-precision

Presentation precision for the target date. null leaves the precision unspecified.; enum: day|month|quarter|half_year|year; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --target-precision <value>
--summary

Short project summary, separate from the detailed description. Null or empty clears it.; (use "null" or "reset" to clear); max 1000 chars

型: string。任意。

terminal
orc projects update <key> --summary <value>
--description

Project description.

型: string。任意。

terminal
orc projects update <key> --description <value>
--display-order

Project list ordering value; smaller values come first and equal values are ordered by projectKey. Creation appends after the current largest value when omitted.

型: number。任意。

terminal
orc projects update <key> --display-order <value>
--visibility

Stored project visibility metadata. Project reads in this API are authorized at workspace level; private does not create a separate member access boundary.; enum: workspace|private

型: string。任意。

terminal
orc projects update <key> --visibility <value>
--color-token

Visual identity color token. Creation defaults to default when omitted.; enum: default|gray|brown|orange|yellow|green|blue|purple|pink|red

型: string。任意。

terminal
orc projects update <key> --color-token <value>
--identity-kind

Visual identity mode. Creation defaults to initial when omitted.; enum: color|initial|icon|emoji|image

型: string。任意。

terminal
orc projects update <key> --identity-kind <value>
--icon-token

Icon token used with identity_kind=icon. null clears the stored token.; (use "null" or "reset" to clear); max 64 chars

型: string。任意。

terminal
orc projects update <key> --icon-token <value>
--emoji

Emoji used with identity_kind=emoji. null clears the stored emoji.; (use "null" or "reset" to clear); max 32 chars

型: string。任意。

terminal
orc projects update <key> --emoji <value>
--image-file-id

Uploaded image file id used with identity_kind=image. null clears the reference.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --image-file-id <value>
--initiative-id

Optional parent Initiative ID in the same Workspace.; (use "null" or "reset" to clear)

型: string。任意。

terminal
orc projects update <key> --initiative-id <value>
--milestone

Embedded project milestone. Omit to preserve it, send null to clear it, or send both name and date to replace it. This does not update records managed by the project milestones collection.

型: string。任意。

terminal
orc projects update <key> --milestone <value>

restore

アーカイブ済みProjectを検索キーで指定して復元します。

terminal
orc projects restore <key> [options]

固有のオプション

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

型: string。任意。

terminal
orc projects restore <key> --idempotency-key <value>

archive

Projectの検索キーを指定してアーカイブします。組織スコープの認証情報では、Projectが属するWorkspaceを --workspace-id で指定してください。

terminal
orc projects archive <key> [options]

固有のオプション

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

型: string。任意。

terminal
orc projects archive <key> --idempotency-key <value>
--workspace-id

Workspace context. Organization-scoped credentials must supply a workspace in their organization. Workspace-scoped API keys remain bound to their authenticated workspace; this value cannot redirect them to another workspace.

型: string。任意。

terminal
orc projects archive <key> --workspace-id <value>

rollup get

Project IDまたは既存のProjectキーを指定して進捗の集計を取得します。個別のProject設定の取得とは別の操作です。

terminal
orc projects rollup get <id> [options]

使用例

検索キーと名前を指定してProjectを作成します。

terminal
orc projects create --project-key launch-plan --name "Launch plan" --json

検索キーと名前を指定してProjectを作成します。

進行中へ変更します。

terminal
orc projects update launch-plan --status in_progress --json

進行中へ変更します。

進捗を集計します。

terminal
orc projects rollup get launch-plan --json

進捗を集計します。

アーカイブしたProjectを復元します。

terminal
orc projects restore launch-plan --json

アーカイブしたProjectを復元します。

Projectキーと所属

project_key には /、\、連続する .. を含められません。IssueにProjectを関連付ける project_id はUUIDであり、この検索キーとは異なります。Initiativeへの所属は同じWorkspace内で指定し、解除するときは更新本文の initiative_id を null にします。マイルストーンの管理には orc projects milestones を使用します。

グローバルオプション

orc projects では、次のグローバルオプションを使用できます。

各オプションの詳細と使用例は、グローバルオプションを参照してください。