CLI
sazabi work-items
Command reference for sazabi work-items.
sazabi work-items — Manage work items in the organization's connected issue tracker. Subcommands: create, comment, transition.
sazabi work-items
Manage work items in the organization's connected issue tracker
sazabi work-items <subcommand>sazabi work-items create --container ENG --title "Fix login bug" # Create a work item in the ENG tracker
sazabi work-items comment --item-id ENG-123 --body-markdown "Fixed in the latest deploy" # Add a comment to a work item
sazabi work-items transition --item-id ENG-123 --state Done # Move a work item to a target statesazabi work-items create
Create a work item (e.g. a Linear issue)
sazabi work-items create [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--organization-id | string | No | Override active organization ID |
--container | string | No | Container id, short key (e.g. a Linear team key like ENG), or display name |
--title | string | No | Work item title |
--body-markdown | string | No | Markdown body/description for the work item |
--state | string | No | Optional initial workflow state, by name or state ref |
--item-type | string | No | Work-item type, by name or type ref (required only for trackers that declare types) |
--client-request-id | string | No | Stable idempotency key. Pass the same value when retrying a create so a lost/timed-out response does not file a duplicate work item |
sazabi work-items create --container ENG --title "Fix login bug" # Create a work item in the ENG tracker
sazabi work-items create --container ENG --title "Fix login bug" --body-markdown "Steps to repro..." --json # Create with a body and print JSON
sazabi work-items create --container ENG --title "Fix login bug" --client-request-id "$(uuidgen)" # Safe to retry with the same keysazabi work-items comment
Add a comment to a work item
sazabi work-items comment [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--organization-id | string | No | Override active organization ID |
--item-id | string | No | The work item to comment on: its provider-native id or human identifier (e.g. "ENG-123") |
--body-markdown | string | No | Markdown body of the comment |
sazabi work-items comment --item-id ENG-123 --body-markdown "Fixed in the latest deploy" # Add a comment to a work itemsazabi work-items transition
Move a work item to a target workflow state
sazabi work-items transition [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--organization-id | string | No | Override active organization ID |
--item-id | string | No | The work item to transition: its provider-native id or human identifier (e.g. "ENG-123") |
--state | string | No | Target workflow state, by name (case-insensitive) or state ref |
sazabi work-items transition --item-id ENG-123 --state Done # Move a work item to a target state