---
ai:
  exclude: true
search:
  tags:
    - priorityschemes
    - GET
seo:
  description: >-
    Returns all priority schemes. All project keys… Reference for the GET
    /api/2/priorityschemes endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Get all priority schemes
  badge: GET
title: Get all priority schemes
type: openapi-operation
---
Returns all priority schemes. All project keys associated with the priority scheme will only be returned if additional query parameter is provided &lt;code>expand=schemes.projectKeys&lt;/code>

`GET /api/2/priorityschemes`

**Responses**

- `200` — Priority schemes
- `401` — Returned if the user is not authenticated.
- `403` — Returned if the caller user does not have permission to view priority schemes.

Response example, 200:

```json
{
  "maxResults": 0,
  "schemes": [
    {
      "defaultOptionId": "string",
      "defaultScheme": true,
      "description": "string",
      "id": 0,
      "name": "string",
      "optionIds": [
        "string"
      ],
      "projectKeys": [
        "string"
      ],
      "self": "http://example.com"
    }
  ],
  "startAt": 0,
  "total": 0
}
```
