This template displays the description of the work type of the current work item.
If there is nothing to display, the result will be “None”.
Configuration
To use the Work type description template, simply select it from the template grid. Filter by Misc 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?.issueType?.description
Details
1. What does the expression do?
The expression retrieves the description of the current work item’s work type .
2. Step-by-step breakdown
-
issue: Refers to the current work item being viewed or processed. -
?.issueType: This property represents the type of the work item (for example, Task, Bug, Story, etc.). -
?.description: This is the actual description text for the work type.
-
If any part is missing, it returns nothing.
3. Examples
-
If you have a work item of type "Bug" and the "Bug" type has a description like "A problem or error in the system," the expression will display:
"A problem or error in the system."
4. Real-life use cases
-
Creating custom fields that show additional context about the work item type, helping team members or stakeholders who may not be familiar with all work types.