Hi,
I want to assign to a user who made the transition before the current one. Let me give a scenario:
X sends the request for approval in the status ' Pending for approval' . Y approves it and does the 'pending for approval'----> 'Pending for action' transition. So, now, after the request is pending for action, it should be automatically assigned to X.
Is there some way?
Please let me know.
Thankyou,
Regards,
Jahanzaib
Hi @Muhammad Jahanzaib Tariq_ T-6074
Are the issues assigned to your users X and Y in the respective statuses? If so, you could select to assign to previous assignee in the rule.
Kind regards,
Bill
Jahanzaib,
Automation should be able to solve your problem, however since you can't access the complete changelog of the issue directly from any triggered rule (see this ticket for reference), I think you'll have to implement the solution in a couple steps. Here is my idea (in short, store the prior assignee in a field to access when you need to):
1. Create a custom field of type "User Picker (single user)" and add it to the screen scheme/layout of your issue. (You could title it "Previous Assignee", which I reference below)
2. Create an Automation rule that (Trigger) When field value 'assignee' changes, then (Action) edit issue field 'Previous Assignee' to '{{changelog.assignee.from}}'
3. Create a second Automation rule that (Trigger) when Issue Transitioned from 'Pending for approval' to 'Pending for action', then (Action) Assign Issue to (select Smart value option in the drop down) '{{issue.Previous Assignee}}'
If you don't want people to accidentally edit this new field, you may have to make it uneditable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.