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

Get all priority schemes

Returns all priority schemes. All project keys associated with the priority scheme will only be returned if additional query parameter is provided <code>expand=schemes.projectKeys</code>

GET/api/2/priorityschemes
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.

Query parameters
maxResultsinteger<int32>

how many results on the page should be included. Defaults to 100, maximum is 1000.

startAtinteger<int64>

the page offset, if not specified then defaults to 0

Responses
200

Priority schemes

maxResultsinteger<int32>
schemesPrioritySchemeBean[]
Show properties
Array of PrioritySchemeBean
defaultOptionIdstring
defaultSchemeboolean
descriptionstring
idinteger<int64>
namestring
optionIdsstring[]
projectKeysstring[]
selfstring<uri>
startAtinteger<int64>
totalinteger<int32>
401

Returned if the user is not authenticated.

403

Returned if the caller user does not have permission to view priority schemes.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/priorityschemes' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "maxResults": 0,
  "schemes": [
    {
      "defaultOptionId": "string",
      "defaultScheme": true,
      "description": "string",
      "id": 0,
      "name": "string",
      "optionIds": [
        "string"
      ],
      "projectKeys": [
        "string"
      ],
      "self": "http://example.com"
    }
  ],
  "startAt": 0,
  "total": 0
}

Was this page helpful?