GET /rest/api/2/priority/search

Returns a paginated list of priorities. The list can contain all priorities or a subset determined by any combination of these criteria:

Deprecation notice: The onlyDefault parameter is deprecated and will be removed at a later date. See CHANGE-1655.

Deprecation notice: The isDefault property of priorities is deprecated and will be removed at a later date. See CHANGE-1655.

Permissions required: Permission to access Jira.

Servers

Query parameters

Name Type Required Description
id[] Array No

The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=2&id=3.

projectId[] Array No

The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example, projectId=10010&projectId=10111.

startAt String No

The index of the first item to return in a page of results (page offset).

Default value: "0"

maxResults String No

The maximum number of items to return per page.

Default value: "50"

expand String No

Use schemes to return the associated priority schemes for each priority. Limited to returning first 15 priority schemes per priority.

priorityName String No

The name of priority to search for.

onlyDefault Boolean No

Whether only the default priority is returned.

Default value: false

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.