Assign to Specific User Role Based on Issue Field Post Function
This page is about JEP Cloud. Using Jira On-Prem? Click the On-Prem button above.
This post function assigns an issue to a user within the specified role automatically, if your selected field matches the value entered. For instance, you can define a post function to assign issues automatically to the escalated user's project role within the transition Start Progress, if the priority of the issue is critical.
To add the Assign to Specific User Role Based on Issue Field post function, follow these steps:
Click the Jira cog icon > Issues > Workflows.
After finding the workflow, go to the three-dots icon and click Edit. Navigate to the transition of your workflow.
Switch to the Post Functions tab.
Click the Add post function link.
Select JEP - Assign to Specific User Role Based on Issue Field Post Function and then click the Add button.
Select the Project Role that the issue will be assigned to, select a Field, and enter the matching string (Match Value). If the value of the field matches the value you defined, then the issue will be assigned to a user in that project role.
Click Add, and you’ll be redirected to the Post Functions list.
Don’t forget to click Publish Draft to publish the workflow and save your changes.
Please bear in mind that if you use this post function within Create Issue Transition, the post function should be placed right after the Creates the issue originally statement.Â