Skip to content

Atlassian: Issue priorities schemas

8 Atlassian schemas with complete fields and constraints.

← Issue priorities operations · All schemas

Create priority — request body — body

FieldTypePresenceDescription and constraints
$objectRootDetails of an issue priority.
Additional keys: allowed
avatarIdintegerOptionalThe ID for the avatar for the priority. Either the iconUrl or avatarId must be defined, but not both. This parameter is nullable and will become mandatory once the iconUrl parameter is deprecated.
Format: int64
write Only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the priority.
Maximum length: 255
write Only: true
description (anyOf 2)nullAlternative
iconUrlJSONOptional
iconUrl (anyOf 1)stringAlternativeThe URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. Either the iconUrl or avatarId must be defined, but not both.
One of: /images/icons/priorities/blocker.png, /images/icons/priorities/critical.png, /images/icons/priorities/high.png, /images/icons/priorities/highest.png, /images/icons/priorities/low.png, /images/icons/priorities/lowest.png, /images/icons/priorities/major.png, /images/icons/priorities/medium.png, /images/icons/priorities/minor.png, /images/icons/priorities/trivial.png, /images/icons/priorities/blocker_new.png, /images/icons/priorities/critical_new.png, /images/icons/priorities/high_new.png, /images/icons/priorities/highest_new.png, /images/icons/priorities/low_new.png, /images/icons/priorities/lowest_new.png, /images/icons/priorities/major_new.png, /images/icons/priorities/medium_new.png, /images/icons/priorities/minor_new.png, /images/icons/priorities/trivial_new.png
Maximum length: 255
write Only: true
iconUrl (anyOf 2)nullAlternative
namestringRequired within parentThe name of the priority. Must be unique.
Maximum length: 60
write Only: true
statusColorstringRequired within parentThe status color of the priority in 3-digit or 6-digit hexadecimal format.
write Only: true

Create priority — response body

FieldTypePresenceDescription and constraints
$objectRootThe ID of an issue priority.
Additional keys: allowed
idJSONOptional
id (anyOf 1)stringAlternativeThe ID of the issue priority.
Read only: true
id (anyOf 2)nullAlternative

Get priority — response body

FieldTypePresenceDescription and constraints
$objectRootAn issue priority.
Additional keys: allowed
avatarIdJSONOptional
avatarId (anyOf 1)JSONAlternative
avatarId (anyOf 1) (anyOf 1)integerAlternativeThe avatarId of the avatar for the issue priority. This parameter is nullable and when set, this avatar references the universal avatar APIs.
Format: int64
avatarId (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
avatarId (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the issue priority.
description (anyOf 2)nullAlternative
iconUrlJSONOptional
iconUrl (anyOf 1)stringAlternativeThe URL of the icon for the issue priority.
iconUrl (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeThe ID of the issue priority.
id (anyOf 2)nullAlternative
isDefaultJSONOptional
isDefault (anyOf 1)booleanAlternativeWhether this priority is the default.
isDefault (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the issue priority.
name (anyOf 2)nullAlternative
schemesJSONOptional
schemes (anyOf 1)ModelAlternativeExpand Get priority — response body — schemes max Results, start At, total
Priority schemes associated with the issue priority.
schemes (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the issue priority.
self (anyOf 2)nullAlternative
statusColorJSONOptional
statusColor (anyOf 1)stringAlternativeThe color used to indicate the issue priority.
statusColor (anyOf 2)nullAlternative

Referenced models: Get priority — response body — schemes max Results, start At, total

Get priority — response body — schemes max Results, start At, total

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeFormat: int32
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeFormat: int64
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeFormat: int64
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative

Move priorities — request body — body

FieldTypePresenceDescription and constraints
$objectRootChange the order of issue priorities.
Additional keys: not allowed
afterstringOptionalThe ID of the priority. Required if `position` isn't provided.
write Only: true
idsarrayRequired within parentThe list of issue IDs to be reordered. Cannot contain duplicates nor after ID.
write Only: true
ids[]stringEach itemwrite Only: true
positionstringOptionalThe position for issue priorities to be moved to. Required if `after` isn't provided.
write Only: true

Search priorities — response body

FieldTypePresenceDescription and constraints
$objectRootA page of items.
isLastJSONOptional
isLast (anyOf 1)booleanAlternativeWhether this is the last page.
Read only: true
isLast (anyOf 2)nullAlternative
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of items that could be returned.
Format: int32
Read only: true
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
nextPageJSONOptional
nextPage (anyOf 1)stringAlternativeIf there is another page of results, the URL of the next page.
Format: uri
Read only: true
nextPage (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the page.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned.
Format: int64
Read only: true
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe number of items returned.
Format: int64
Read only: true
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeThe list of items.
Read only: true
values (anyOf 1)[]ModelEach itemExpand Get priority — response body
values (anyOf 2)nullAlternative

Referenced models: Get priority — response body

Set default priority — request body — body

FieldTypePresenceDescription and constraints
$objectRootThe new default issue priority.
Additional keys: not allowed
idstringRequired within parentThe ID of the new default issue priority. Must be an existing ID or null. Setting this to null erases the default priority setting.
write Only: true

Update priority — request body — body

FieldTypePresenceDescription and constraints
$objectRootDetails of an issue priority.
Additional keys: allowed
avatarIdintegerOptionalThe ID for the avatar for the priority. This parameter is nullable and both iconUrl and avatarId cannot be defined.
Format: int64
write Only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the priority.
Maximum length: 255
write Only: true
description (anyOf 2)nullAlternative
iconUrlJSONOptional
iconUrl (anyOf 1)stringAlternativeThe 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.
One of: /images/icons/priorities/blocker.png, /images/icons/priorities/critical.png, /images/icons/priorities/high.png, /images/icons/priorities/highest.png, /images/icons/priorities/low.png, /images/icons/priorities/lowest.png, /images/icons/priorities/major.png, /images/icons/priorities/medium.png, /images/icons/priorities/minor.png, /images/icons/priorities/trivial.png, /images/icons/priorities/blocker_new.png, /images/icons/priorities/critical_new.png, /images/icons/priorities/high_new.png, /images/icons/priorities/highest_new.png, /images/icons/priorities/low_new.png, /images/icons/priorities/lowest_new.png, /images/icons/priorities/major_new.png, /images/icons/priorities/medium_new.png, /images/icons/priorities/minor_new.png, /images/icons/priorities/trivial_new.png
Maximum length: 255
write Only: true
iconUrl (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the priority. Must be unique.
Maximum length: 60
write Only: true
name (anyOf 2)nullAlternative
statusColorJSONOptional
statusColor (anyOf 1)stringAlternativeThe status color of the priority in 3-digit or 6-digit hexadecimal format.
write Only: true
statusColor (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.