This template displays the description of the priority in the current work item if it exists.
If there is nothing to display, the result will be “None”.
Configuration
To use the Priority description template, simply select it from the template grid. Filter by Priority to find it faster.
Parameters
This template does not require any additional parameter configuration.
Expert mode
If you switch to Expert mode you can see the formula field in the Expression Parser. You can now tweak the expression to create a custom formula field based on this template.
Expression
Jira expression:
issue?.priority?.description
Details
1. What does the expression do?
The expression returns the description of the priority for the current work item. If the work item does not have a priority or the priority does not have a description, it will return nothing.
2. Step-by-step breakdown
The expression is:
issue?.priority?.description
-
issue: Refers to the current work item being processed.
-
?.priority: Refers to the priority field of the work item.
-
?.description: Refers to the description text associated with the priority (e.g., "This is a critical issue").
3. Examples
-
If a work item has priority "High" with description "Requires immediate attention", the field will display: Requires immediate attention.
-
If a work item has no priority set, the field will display: None.
-
If a work item has a priority but no description for that priority, the field will display: None.
4. Real-life use cases
-
Displaying the priority description in a work item overview to help users understand the urgency or importance of the item.