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

Reorder an issue's subtasks

Reorders an issue’s subtasks by moving the subtask at index ‘from’ to index ‘to’.

POST/api/2/issue/{issueIdOrKey}/subtask/move
Authorization
AuthorizationBasic auth · headerrequired

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

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

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

Path parameters
issueIdOrKeystringrequired

The parent issue's key or id

Request body
requiredapplication/json

The description of previous and current position of subtask in the sequence.

currentinteger<int64>
originalinteger<int64>
Responses
204

Returned if the request was successful

400

Returned if the from or to parameters are out of bounds

403

Returned if the user is not allowed to edit the issue

404

Returned if the parent issue doesn't exist

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/issue/string/subtask/move' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "current": 0,
  "original": 0
}'
Response
Returned if the request was successful

Was this page helpful?