Transition sprint
stride.transition_sprintTransition a sprint to a new status: ACTIVE (start a PLANNING sprint), COMPLETED (close an ACTIVE sprint; incomplete stories return to backlog), or CANCELLED. Only ONE sprint per project can be ACTIVE: starting a second returns SPRINT_ALREADY_ACTIVE naming the active one — complete or cancel it first (stride.list_sprints shows statuses). A sprint already in the requested state returns SPRINT_ALREADY_IN_STATE (with requestedState) and changes nothing — distinct from SPRINT_ALREADY_ACTIVE, which means a DIFFERENT sprint holds the slot. Illegal transitions return isError with the legal next states. Conflict-guarded against concurrent human edits (pass force:true, after re-reading with get_sprint, to override — the override is audit-logged).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target status. | |
| force | No | Required after a HUMAN_EDIT_AFTER_AGENT_SYNC conflict — re-reading with get_sprint does not clear it. Re-read first and account for the human's edit; overwrite it only with the human's explicit approval — the override is audit-logged. | |
| sprintId | Yes |