Sprint
Update sprint
Changed onPerforms a full update of a sprint. A full update means that the result will be exactly the same as the request body. Any fields not present in the request JSON will be set to null.
Notes:
- For closed sprints, only the name and goal can be updated; changes to other fields will be ignored.
- 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.
- Other changes to state are not allowed.
- The completeDate field cannot be updated manually.
put/rest/agile/1.0/sprint/{sprintId}
Request
- Base URLhttps://your-domain.atlassian.net
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://auth.atlassian.com/authorizeToken URLhttps://auth.atlassian.com/oauth/tokenScopeswrite:sprint:jira-software
- TypeScripthttps://skmtc.dev/atlassian/apis/jira-software-cloud-api/docs/rest/agile/1.0/sprint/:sprintId/put.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
sprintIdinteger required
the ID of the sprint to update.
Request body
Response
Updated sprint
Changes
- info
the endpoint scheme security
basicAuthwas added to the API
- info
- info
endpoint added
- info