This function returns the name of the priority with a given ID.


priority(id) #Output: Text



Parser expressionDescription


priority(1)


This example returns a text with the corresponding name of the priority with the ID 1.

e.g. Highest



Parameters used in this function

ParameterInput (data type)Description
id

A valid priority ID.



This function returns a .

If there is no priority with the given ID, the function returns .


Use this function to ensure expressions will continue to work after renaming priorities:

Will continue to work after priority name update (tick)Will fail after priority name update (error)


%{issue.priority} = priority(1)



%{issue.priority} = "Medium"




Use cases and examples



Parser function cloud
Map(error)
Notes

Not possible because we cannot find IssuePriorities by their IDs.






Status
Tech review

Style guide




Short description

Returns the name of the priority with a given ID.

Output

Available since

Label