• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / / REST API

priorityschemes

Postman Collection
OpenAPI
GET

Get all priority schemesExperimental

Returns all priority schemes. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=schemes.projectKeys

Request

Query parameters

maxResults

integer

startAt

integer

Responses

Priority schemes

application/json

PrioritySchemeListBean
GET/api/2/priorityschemes
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/priorityschemes' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Create new priority schemeExperimental

Creates new priority scheme.

Request

Request bodyapplication/json

Data of priority scheme to create

defaultOptionId

string

description

string

id

integer

name

string

optionIds

array<string>

Responses

Newly created priority scheme

application/json

PrioritySchemeBean
POST/api/2/priorityschemes
1 2 3 4 5 curl --request POST \ --url 'http://{baseurl}/rest/api/2/priorityschemes' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
GET

Get a priority scheme by IDExperimental

Gets a full representation of a priority scheme in JSON format.

Request

Path parameters

schemeId

integer

Required

Responses

Priority scheme

application/json

PrioritySchemeBean
GET/api/2/priorityschemes/{schemeId}
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/priorityschemes/{schemeId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
PUT

Update a priority schemeExperimental

Updates a priority scheme. Update will be rejected if issue migration would be needed as a result of scheme update. Priority scheme update with migration is possible from the UI.

Request

Path parameters

schemeId

integer

Required

Request bodyapplication/json

New scheme data

defaultOptionId

string

description

string

id

integer

name

string

optionIds

array<string>

Responses

Updated priority scheme

application/json

PrioritySchemeBean
PUT/api/2/priorityschemes/{schemeId}
1 2 3 4 5 curl --request PUT \ --url 'http://{baseurl}/rest/api/2/priorityschemes/{schemeId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
DEL

Delete a priority schemeExperimental

Deletes a priority scheme. All projects using deleted scheme will use default priority scheme afterwards.

Request

Path parameters

schemeId

integer

Required

Responses

Returned if the priority scheme is successfully deleted.

DEL/api/2/priorityschemes/{schemeId}
1 2 3 curl --request DELETE \ --url 'http://{baseurl}/rest/api/2/priorityschemes/{schemeId}' \ --user 'email@example.com:<api_token>'

Rate this page: