Assign to Last Role Member
Assign to Last Role Member assigns the issue to the last user assigned with a specific role.
For example, developer A finishes working on an issue and marks it as Ready to Test. After it transitions, the issue is automatically assigned to tester B. Tester B rejects the issue, and it returns to the development team. The last user assigned in the development role is re-assigned to the issue (developer A). The developer can then fix the issue, and transition it back to the QA team. When they do, the issue is re-assigned to tester B (last user in the tester role).
Select the Assign to Last Role Member [ScriptRunner] post-function.
For details on how to navigate to ScriptRunner workflow functions, see our Navigating to Workflow Functions.
Enter a description of the post function in Note.
Enter the Condition for which, when true, the post function fires.
If this is left blank, the post function is always triggered.
Select the Role of the user to assign. The last user assigned from this role is re-assigned when the issue transitions.
Optionally check the following options:
Include Reporter to include the reporter in the list of assignees available to re-assign.
Include Current Assignee to include the current assignee in the list of assignees available to re-assign.
Force Assignment to assign a user even if a an assignee has been specified in the transition screen.
Click Update
The example below fires the post function for issues in the Development project.