---
title: "Swap sprint"
method: POST
path: "/rest/agile/1.0/sprint/{sprintId}/swap"
tags: ["Sprint"]
---

# Swap sprint

`POST /rest/agile/1.0/sprint/{sprintId}/swap`

Swap the position of the sprint with the second sprint.

## Path parameters

- `sprintId` integer, required

## Request body

- object
  - `sprintToSwapWith` integer

## Response `204`

Returned if the sprint swap was performed successfully

## Other responses

- `401` — Returned if the user is not logged in.
- `403` — Returned if the user does not have a valid license or does not have permission to view at least one sprint.
- `404` — Returned if at least one sprint does not exist or user does not have permission to view at least one sprint.

---

[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)
