Sprint
A sprint: a time-boxed slice of a project's backlog.
- Summary view
- SprintList, 15 fields. What a list returns by default.
- Detail view
- Sprint, 15 fields. The default for a single read and for every write.
A sprint has three states and they are derived, not stored (completed_at set means completed, otherwise is_active true means active, otherwise upcoming), so there is no state field to read and no filter[state] to send. Starting and completing a sprint are not field writes: they live at POST sprints/{sprint}/actions/start and .../actions/complete, because either can fail for a state reason rather than an invalid-value reason.
Used by
Fields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
The project this sprint belongs to. A sprint cannot be moved between projects, so this is accepted on create only.
Planned first day of the sprint. Independent of started_at: planning a date does not start the sprint.
When the sprint was actually started. Written only by POST sprints/{sprint}/actions/start; null on an upcoming sprint.
When the sprint was actually completed. Written only by POST sprints/{sprint}/actions/complete; null until then. Non-null is what makes the derived state completed.
Whether this is the project's running sprint. Set by actions/start and cleared by actions/complete, never by PATCH. At most one sprint per project is active at a time.
Display position within the project. Assigned on create as the last position in that project's sprint order, changed only by reordering in plnnrly, and not writable.
Number of work items currently on this sprint, resolved and unresolved alike.
The project this sprint belongs to. Expanding it additionally requires the projects prefix's read grant and a token scope covering it.
Variants
SprintList 15 fields
What a collection returns, and what ?view=summary returns on a single record.
The same fields as the detail object.
SprintSummary 3 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: project_id, description, start_date, end_date, started_at, completed_at, order, work_items_count, created_at, updated_at, project, links
SprintLinks 2 fields
The links object on this resource.
Keys: self, work_items
Something wrong or missing on this page? Tell us