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/moveAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
issueIdOrKeystringrequiredThe parent issue's key or id
Request body
requiredapplication/jsonThe 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