Internal
Create a new instance of the service.
Creates an issue priority.
Deprecation applies to iconUrl param in request body which will be sunset on 16th Mar 2025. For more details refer to changelog.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
example:
{
"id": "10001"
}
Deletes an issue priority.
This operation is asynchronous. Follow the location
link in the
response to determine the status of the task and use Get
task to obtain subsequent updates.
Permissions required: Administer Jira global permission.
The ID of the issue priority.
Returns the list of all issue priorities.
Permissions required: Permission to access Jira.
Returned if the request is successful.
example:
[
{
"description": "Major loss of function.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/major.png",
"id": "1",
"name": "Major",
"self": "https://your-domain.atlassian.net/rest/api/3/priority/3",
"statusColor": "#009900"
},
{
"description": "Very little impact.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/trivial.png",
"id": "2",
"name": "Trivial",
"self": "https://your-domain.atlassian.net/rest/api/3/priority/5",
"statusColor": "#cfcfcf"
}
]
Returns an issue priority.
Permissions required: Permission to access Jira.
The ID of the issue priority.
Returned if the request is successful.
example:
{
"description": "Major loss of function.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/major.png",
"id": "1",
"name": "Major",
"self": "https://your-domain.atlassian.net/rest/api/3/priority/3",
"statusColor": "#009900"
}
Changes the order of issue priorities.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
Returns a paginated list of priorities. The list can contain all priorities or a subset determined by any combination of these criteria:
Permissions required: Permission to access Jira.
Optional
expand?: stringUse schemes
to return the associated priority schemes for each priority.
Limited to returning first 15 priority schemes per priority.
Optional
id?: string[]The list of priority IDs. To include multiple IDs, provide an
ampersand-separated list. For example, id=2&id=3
.
Optional
maxThe maximum number of items to return per page.
Optional
onlyWhether only the default priority is returned.
Optional
priorityThe name of priority to search for.
Optional
projectThe list of projects IDs. To include multiple IDs, provide an
ampersand-separated list. For example, projectId=10010&projectId=10111
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 50,
"startAt": 0,
"total": 2,
"values": [
{
"description": "Major loss of function.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/major.png",
"id": "1",
"isDefault": true,
"name": "Major",
"self": "https://your-domain.atlassian.net/rest/api/3/priority/3",
"statusColor": "#009900"
},
{
"description": "Very little impact.",
"iconUrl": "https://your-domain.atlassian.net/images/icons/priorities/trivial.png",
"id": "2",
"isDefault": false,
"name": "Trivial",
"self": "https://your-domain.atlassian.net/rest/api/3/priority/5",
"statusColor": "#cfcfcf"
}
]
}
Sets default issue priority.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
Updates an issue priority.
At least one request body parameter must be defined.
Deprecation applies to iconUrl param in request body which will be sunset on 16th Mar 2025. For more details refer to changelog.
Permissions required: Administer Jira global permission.
The ID of the issue priority.
Returned if the request is successful.
Protected
Static
initialize
This resource represents issue priorities. Use it to get, create and update issue priorities and details for individual issue priorities.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-priorities