Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page properties
hiddentrue
Status
Tech review

Status
colourYellow
titleReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
id0


Field code%{issue.priority}
Type

Status
subtletrue
colourGreen
titleRead / Write

Available since




Code Block
titleField code
linenumberstrue
%{issue.priority}

Read


Page properties
id1


Returned valueName of the current issue current priority
Output data type

Status
subtletrue
titletext

Example outputBlocker



UI Text Box
typeinfo

The priority name will be returned in Jira's default language. If a translated value should be returned in general this setting can be updated in the configuration of the xApps library.



Write


Page properties
id2


textValid text input

number

Allowed input 

Status
subtletrue
titleName of a valid priority  priority (e.g. , Blocker, Critical, Major, etc...etc).

Valid numerical inputAllowed input 

Status
subtletrue
title(0 = highest priority, 1 = second highest,... n = lowest).
Example inputBlocker




Page properties
hiddentrue
id1


Field code server (context "issue")

%{issue.priority}

00017

Field code server (context "parent")

%{parent.priority}

00043

Field name cloudPriority
Field code cloud (context = "issue" "parent" or "seed")%{context.priority}
Map(tick)
Notes




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

UI Text Box
typeinfo

To learn more about this writable field, check the following use cases:

  • Changing issue priority depending on issue description
  • Propagate highest priority from blocked issues to blocking issues
  • Set a custom field "Urgency" depending on a combined value of issue's Priority and "Impact" custom field
  • Setting priority for issues in certain status for longer than 24 hours