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

Move issues to a sprint

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.

POST/agile/1.0/sprint/{sprintId}/issue
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 that you want to assign issues to.

Request body
requiredapplication/json

The issues to move.

issuesstring[]
Responses
204

Empty response is returned if operation was successful.

400

Returned if the request is invalid.

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 assign issues.

404

Returned if the sprint does not exist or the user does not have permission to view it.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/agile/1.0/sprint/0/issue' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "issues": "['\''ISSUE-1'\'', '\''ISSUE-2'\'']"
}'
Response
Empty response is returned if operation was successful.

Was this page helpful?