On this page
Use case
Within Jira you can use different priorities to classify your issues.
In the following use case we explain how to set the assignee based on the selected priority.
Configuration
Add the Update field based on rules to the desired transition or create a new transition.
You could add the post function to the create transition of the workflow so that the assignee get's automatically set every time an issue is created.
Source field
Choose Priority
Target field
Choose Assignee
Rules
First rule
Select Text comparison
Source field value
Enter the name of the priority, e.g.
High
Target field value
Enter the username that should be assigned to the ticket when the specified priority was selected:
agrant
In this case, the user with username agrant will be set as assignee, if the priority High was selected.
Second rule
Select Text comparison
Source field value
Enter the name of the priority, e.g.
Highest
Target field value
Enter the username that should be assigned to the ticket when the specified priority was selected:
eparis
In this case, the user with username eparis will be set as assignee, if the priority Highest was selected.
Proceed with the configuration like shown in the previous steps and adapt the rules according to your needs.
The current implementation works just fine, as long as priorities don't get renamed. If e.g. the priority High is renamed to Urgent the above configured post function won't work correct anymore.
The following implementation is an alternative that even works after renaming priorities!
Screenshots
Related use cases
STAFF PICKUse case JWT feature Workflow function Parser functions Label Add user to field depending on selected options Set assignee based on priority priority() Set assignee depending on issue type issueType() Set issue security level depending on reporter issueSecurityLevel() Set reporter as assignee if a User Picker field is empty
If you still have questions, feel free to refer to our support team.