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

Get an issue priority by ID

Returns an issue priority

GET/api/2/priority/{id}
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
idstringrequired

a String containing the priority id

Responses
200

Returned if the issue priority exists and is visible by the calling user. Contains a full representation of the issue priority in JSON

descriptionstring
iconUrlstring
idstring
namestring
selfstring
statusColorstring
401

Returned if the user is not authenticated

404

Returned if the issue priority does not exist or is not visible to the calling user

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/priority/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "description": "This is a description of the priority",
  "iconUrl": "http://www.example.com/jira/images/icons/priorities/major.png",
  "id": "1",
  "name": "Major",
  "self": "http://www.example.com/jira/rest/api/2/priority/1",
  "statusColor": "red"
}

Was this page helpful?