Assign Issue to Specific User Role Post Function
This page is about JEP for Jira DC. Using Cloud? Click here.
This post function allows you to automatically assign an issue to a user within a specified project role during a workflow transition. You can choose to assign the issue either:
To a random user in the specified project role, or
To the last active user in that role who was previously assigned to the issue.
If you use this post function in the "Create Issue" transition, ensure that it is placed immediately after the Creates the issue originally
statement in the post functions list.
Steps
Open the workflow where you want to add the condition and locate the transition you want.
Switch to the Post Functions tab.
Click the Add post function button.
Select JEP - Assign Issue to Specific User Role Post Function and click the Add button.
Select the project role and enable Last Active User In Role if you want to assign the issue to the user who was the most recent assignee (according to the project role) for that issue.
The post function will now be added to the transition.