Steps to Create
1. Project role for Developers
Verify that your Jira instance has a project role that includes the necessary developers. If that role does not exist, create one and add any necessary team members; see this page for more information: https://support.atlassian.com/jira-cloud-administration/docs/manage-project-roles/.
2. Add Assign to last role member post-function
Log in to your Jira instance as an Administrator.
In the upper right corner of the window, click Settings ( ⚙️ ) and select Issues.
In the left-hand sidebar, click Workflows.
From the list of Workflows, click Actions ( ) for the appropriate workflow and select Edit.
Edit the transition:
When viewing the Workflow in Diagram view (Figure 1, right), select the Transition and click the Post Functions link. Click Add post function at the top of the list of existing post functions.
When viewing the Workflow in Text view, click the name of the Transition then select the Post Functions tab. Click Add post function at the top of the list of existing post functions.
Select Assign to last role member issue (JMWE app) from the list of post-functions and click Add.
3. Configure the post-function
Set the following configurations (Figure 2, right):
Issue(s) to operate on Select user - Set Target issue(s) to Current Issue. Project role to Last role member
Set Project Role to the project role you created for your Development team, e.g. Developers.
Set
OptionsAssignment behavior as needed. See
Project RoleAssignment Behavior Options, below, for more information.
Conditional execution - Set as needed.
Run As Target issue(s) - Set Which issue(s) to Current Issue.
Conditional execution - Set as needed; it is recommended to leave the default Add-on user value unless required for specific reasons. Delayed execution .
Error handling - Set as needed.
Click Add.
Info |
---|
Project Role Assignment Behavior OptionsThe configuration of Options Assignment Behavior, above, will depend on your organizational structure and on your specific processhow the transition is triggered and which options are available to them during the transition. For example:
|
Panel | ||
---|---|---|
| ||
You’re done!Now, when a closed issue is reopened it will automatically be reassigned to the last member of the Developers project role to which it was assigned. |