---
title: "Move issues to sprint and rank"
method: POST
path: "/rest/agile/1.0/sprint/{sprintId}/issue"
tags: ["Sprint"]
---

# Move issues to sprint and rank

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

## Request

- Base URL: `https://your-domain.atlassian.net`
- URL: `https://your-domain.atlassian.net/rest/agile/1.0/sprint/{sprintId}/issue`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Authorization code: `https://auth.atlassian.com/authorize`
    - Token URL: `https://auth.atlassian.com/oauth/token` scopes: `write:sprint:jira-software`

Moves issues to a sprint, for a given sprint ID. Issues can only be moved to open or active sprints. The maximum number of issues that can be moved in one operation is 50.

## Path parameters

- `sprintId` integer, required

## Request body

- object
  - `issues` string[]
  - `rankAfterIssue` string
  - `rankBeforeIssue` string
  - `rankCustomFieldId` integer

## Response `204`

Empty response is returned if operation was successful.

## 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 or does not have permission to assign issues.
- `404`: Returned if the sprint does not exist or the user does not have permission to view it.

## Changes

- **2026-07-13** `4e108d54b990`: 1 info
  - the endpoint scheme security `basicAuth` was added to the API
- **2022-09-25** `ac057c9cf7e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/atlassian/apis/jira-software-cloud-api/changes/rest/agile/1.0/sprint/:sprintId/issue/post.md)

---

[API](https://skmtc.dev/atlassian/apis/jira-software-cloud-api.md) - [All operations](https://skmtc.dev/atlassian/apis/jira-software-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/jira-software-cloud-api/revisions/4e108d54b990?raw)
