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:

  1. Click the Jira cog icon > Issues > Workflows.

  2. After finding the workflow, go to the three-dots icon and click Edit. Navigate to the transition of your workflow.

  3. Switch to the Post Functions tab.

  4. Click the Add post function link.

  5. Select JEP - Assign to Specific User Role Based on Issue Field Post Function and then click the Add button.

  6. 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.

  7. Click Add, and you’ll be redirected to the Post Functions list.

  8. 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.