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

Get assigned priority scheme

Gets a full representation of a priority scheme in JSON format used by specified project. User must be global administrator or project administrator. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.

GET/api/2/project/{projectKeyOrId}/priorityscheme
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
projectKeyOrIdstringrequired

Key or id of the project

Responses
200

Returned if the priority scheme exists and the user has permission to view it.

defaultOptionIdstring
defaultSchemeboolean
descriptionstring
idinteger<int64>
namestring
optionIdsstring[]
projectKeysstring[]
selfstring<uri>
403

Returned if the user does not have rights to view priority scheme.

404

Returned if project or priority scheme is not found.

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

Was this page helpful?