Sazabi
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 state

sazabi work-items create

Create a work item (e.g. a Linear issue)

sazabi work-items create [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--organization-idstringNoOverride active organization ID
--containerstringNoContainer id, short key (e.g. a Linear team key like ENG), or display name
--titlestringNoWork item title
--body-markdownstringNoMarkdown body/description for the work item
--statestringNoOptional initial workflow state, by name or state ref
--item-typestringNoWork-item type, by name or type ref (required only for trackers that declare types)
--client-request-idstringNoStable 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 key

sazabi work-items comment

Add a comment to a work item

sazabi work-items comment [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--organization-idstringNoOverride active organization ID
--item-idstringNoThe work item to comment on: its provider-native id or human identifier (e.g. "ENG-123")
--body-markdownstringNoMarkdown 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 item

sazabi work-items transition

Move a work item to a target workflow state

sazabi work-items transition [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--organization-idstringNoOverride active organization ID
--item-idstringNoThe work item to transition: its provider-native id or human identifier (e.g. "ENG-123")
--statestringNoTarget 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