This function returns the name of the priority with a given ID.
Syntax
priority(id) #Output: Text
Use this function to ensure expressions will continue to work after renaming priorities:
Will continue to work after priority name update | Will fail after priority name update |
---|---|
%{issue.priority} = priority(1) | %{issue.priority} = "Medium" |
You need to quickly look up the IDs of custom fields, statuses, issue types, resolutions, priorities ...?
Try our app Admin Toolbox for Jira which will show the IDs of all relevant elements by default!
Use cases and examples
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Set assignee based on priority | priority() |