8 Trellis API endpoints for sprints, with the scopes, parameters and response each one takes.
List a project's open sprints
/workspace/{handle}/{key}/sprintsScopes
Needs a token holding issues:read, issues:write or projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
array of SprintResponse
created_atstringdone_countintegerend_datestringnullableidstringis_backlogbooleanissue_countintegernamestringproject_idstringstart_datestringnullablestatusstringupdated_atstringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Create a sprint
/workspace/{handle}/{key}/sprintsScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
CreateSprintRequest
end_datestringnullablenamestringstart_datestringnullablestatusstringnullableResponses
201Created
SprintResponse
created_atstringdone_countintegerend_datestringnullableidstringis_backlogbooleanissue_countintegernamestringproject_idstringstart_datestringnullablestatusstringupdated_atstringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Update a sprint
/workspace/{handle}/{key}/sprintsScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
UpdateSprintRequest
end_datestringnullableidstringRequirednamestringstart_datestringnullablestatusstringnullableResponses
200OK
SprintResponse
created_atstringdone_countintegerend_datestringnullableidstringis_backlogbooleanissue_countintegernamestringproject_idstringstart_datestringnullablestatusstringupdated_atstringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Delete an empty sprint
/workspace/{handle}/{key}/sprints/{sprintID}Scopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
sprintIDstringRequiredResponses
200OK
Confirmation message.
string
defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Assign several issues to a user
/workspace/{handle}/{key}/sprints/bulk-assignScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
BulkAssignRequest
assignee_idstringRequiredissue_idsarray of stringnullableRequiredResponses
200OK
SprintIssuesAssigned
assignedintegerdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Move issues into a sprint
/workspace/{handle}/{key}/sprints/bulk-moveScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
BulkMoveIssuesRequest
issue_idsarray of stringnullableRequirednext_issue_idstringnullableprev_issue_idstringnullabletarget_sprint_idstringRequiredResponses
200OK
SprintIssuesMoved
movedintegerdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Set the status of several issues
/workspace/{handle}/{key}/sprints/bulk-statusScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
BulkStatusRequest
issue_idsarray of stringnullableRequiredstatus_idstringRequiredResponses
200OK
SprintIssuesStatusUpdated
updatedintegerdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Search a project's sprints
/workspace/{handle}/{key}/sprints/searchScopes
Needs a token holding issues:read, issues:write or projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Query parameters
qstringCase-insensitive text to match against sprint names.
limitintegerMaximum number of sprints to return, from 1 to 50. Defaults to 10.
Responses
200OK
array of SprintResponse
created_atstringdone_countintegerend_datestringnullableidstringis_backlogbooleanissue_countintegernamestringproject_idstringstart_datestringnullablestatusstringupdated_atstringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.