Partially update a sprint
Performs a partial update of a sprint. A partial update means that fields not present in the request JSON will not be updated. Notes:
- Sprints that are in a closed state cannot be updated.
- A sprint can be started by updating the state to ‘active’. This requires the sprint to be in the ‘future’ state and have a startDate and endDate set.
- A sprint can be completed by updating the state to ‘closed’. This action requires the sprint to be in the ‘active’ state. This sets the completeDate to the time of the request. If the sprint has offending issues (those which are complete, but have incomplete subtasks) it cannot be closed. If issues are moved to new sprint user has to have issues edit permissions.
- Other changes to state are not allowed.
- The completeDate field cannot be updated manually.
- Sprint goal can be removed by updating it’s value to empty string
- Only Jira administrators can edit dates on sprints that are marked as synced.
POST
/agile/1.0/sprint/{sprintId}Authorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
sprintIdinteger<int64>requiredThe Id of the sprint to update.
Request body
requiredapplication/jsonThe updated sprint.
activatedDatestringautoStartStopbooleancompleteDatestringendDatestringgoalstringidinteger<int64>incompleteIssuesDestinationIdinteger<int64>namestringoriginBoardIdinteger<int64>selfstring<uri>startDatestringstatestringsyncedbooleanResponses
200
Returns the updated sprint.
activatedDatestringautoStartStopbooleancompleteDatestringendDatestringgoalstringidinteger<int64>incompleteIssuesDestinationIdinteger<int64>namestringoriginBoardIdinteger<int64>selfstring<uri>startDatestringstatestringsyncedboolean400
Returned if the request is invalid.
401
Returned if the user is not logged in.
403
Returned if the user does not a have valid license.
404
Returned if the sprint does not exist.