Skip to main content

Transition a task

POST 

/api/v1/tasks/:task_id/transitions

Fires a named transition on a task. The transition must exist in the workflow and be valid from the task's current state; its guard must pass. This is the single path every state change routes through. A transition declaring requires_approval does not move the task — it parks a pending ApprovalItem and returns the task with pending_transition set; the move applies only when the approval is approved.

Request

Responses

The task after the transition