---
title: "Update sprint"
method: PUT
path: "/rest/agile/1.0/sprint/{sprintId}"
tags: ["Sprint"]
---

# Update sprint

`PUT /rest/agile/1.0/sprint/{sprintId}`

Performs 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.

## Path parameters

- `sprintId` integer, required

## Request body

- object
  - `completeDate` string
  - `createdDate` string
  - `endDate` string
  - `goal` string
  - `id` integer
  - `name` string
  - `originBoardId` integer
  - `self` string, uri
  - `startDate` string
  - `state` string

## Response `200`

Updated sprint

## Other responses

- `400` — Returned if the request is invalid.
- `401` — Returned if the user is not logged in.
- `403` — Returned if the user does not have a valid license.
- `404` — Returned if the sprint does not exist.

---

[API](https://skmtc.net/atlassian/apis/jira-software-cloud-api.md) · [All operations](https://skmtc.net/atlassian/apis/jira-software-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/jira-software-cloud-api/revisions/4e108d54b990/schema)
