provider Issue priorities PUT /rest/api/3/priority/{id}
@utdk/jira /rest/api/3/priority/{id}
Update priority
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](https://developer.atlassian.com/changelog/#CHANGE-1525). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
id path required
The ID of the issue priority.
string

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updatepriority
PUT/rest/api/3/priority/{id}
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](https://developer.atlassian.com/changelog/#CHANGE-1525). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The ID of the issue priority.

Input

The ID for the avatar for the priority. This parameter is nullable and both iconUrl and avatarId cannot be defined.

The description of the priority.

The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. Both iconUrl and avatarId cannot be defined.

The name of the priority. Must be unique.

The status color of the priority in 3-digit or 6-digit hexadecimal format.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.updatepriority()