Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Swap the position of two sprints

Swap the position of the sprint with the second sprint.

POST/agile/1.0/sprint/{sprintId}/swap
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
sprintIdinteger<int64>required

The Id of the sprint to swap.

Request body
requiredapplication/json

The sprint to swap with.

sprintToSwapWithinteger<int64>
swapinteger<int64>
Responses
204

Returned if the sprint swap was performed successfully.

401

Returned if the user is not logged in.

403

Returned if the user does not a have valid license or does not have permission to at least one sprint.

404

Returned if at least one sprint does not exist or user does not have permission to view to at least one sprint.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/agile/1.0/sprint/0/swap' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "sprintToSwapWith": 3,
  "swap": 0
}'
Response
Returned if the sprint swap was performed successfully.

Was this page helpful?