Skip to main content
linear.listWorkflowStates returns state IDs for issue creation and movement.
automations/list-linear-states.automation.ts
Optional teamId restricts states to one team. limit accepts 1–50 and defaults to 50. Other common page inputs are after and includeArchived. Second argument { account } defaults to the project binding. Returns { workflowStates: LinearWorkflowState[]; pageInfo: LinearPageInfo }. States include ID, name, category type, color, description, ordering position, owning team, and dates.