linLinear CLI
Commands

lin state

Inspect and manage workflow states (issue statuses)

Inspect and manage workflow states (issue statuses)

lin state archive

Archive a workflow state (issues must be moved off it first)

lin state archive <id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin state create

Create a workflow state

lin state create

Example

lin state create --team ENG --name "In Review" --type started --color "#f2c94c"
FlagTypeDefaultDescription
--colorstring-state color (hex)
--descriptionstring-state description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--namestring-state name
--positionfloat640position in the workflow
--team, -tstring-team key or UUID
--typestring-state type: backlog, unstarted, started, completed, canceled

lin state get

Show one workflow state

lin state get <id>

lin state list

List workflow states

lin state list

Example

lin state list --team ENG --fields name,type
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size
--team, -tstring-restrict to a team (key or UUID)

lin state update

Update a workflow state

lin state update <id>
FlagTypeDefaultDescription
--colorstring-state color (hex)
--descriptionstring-state description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--namestring-state name
--positionfloat640position in the workflow

On this page