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

Rank an epic relative to another

Moves (ranks) an epic before or after a given epic. If rankCustomFieldId is not defined, the default rank field will be used.

PUT/agile/1.0/epic/{epicIdOrKey}/rank
Authorization
AuthorizationBasic auth · headerrequired

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

Path parameters
epicIdOrKeystringrequired

The id or key of the epic to rank.

Request body
requiredapplication/json

Bean which contains the information where the given epic should be ranked.

rankAfterEpicstring
rankBeforeEpicstring
rankCustomFieldIdinteger<int64>
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 user does not a have valid license or does not have permission to rank. To rank issues user have to have schedule issue permission for epics that they want to rank.

404

Returned when the given epics in the path parameter or the request body do not exist.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/agile/1.0/epic/string/rank' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "rankAfterEpic": "10001",
  "rankBeforeEpic": "10000",
  "rankCustomFieldId": 10521
}'
Response
Empty response is returned if operation was successful.

Was this page helpful?