---
ai:
  exclude: true
search:
  tags:
    - project
    - GET
seo:
  description: >-
    Gets a full representation… Reference for the GET
    /api/2/project/{projectKeyOrId}/priorityscheme endpoint in the Jira Software
    Data Center REST API Reference.
sidebar:
  label: Get assigned priority scheme
  badge: GET
title: Get assigned priority scheme
type: openapi-operation
---
Gets a full representation of a priority scheme in JSON format used by specified project. User must be global administrator or project administrator. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.

`GET /api/2/project/{projectKeyOrId}/priorityscheme`

**Responses**

- `200` — Returned if the priority scheme exists and the user has permission to view it.
- `403` — Returned if the user does not have rights to view priority scheme.
- `404` — Returned if project or priority scheme is not found.

Response example, 200:

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