Hi everyone,
could someone help me to automate this process:
if reporter = assignee and status = UAT and status changes to DONE, change the assignee to the one that was when the status was either Development or In progress?
example:
Alex creates a ticket for Max
status = to do
reporter = Alex
assignee = Max
Max works on it
status = UAT
reporter = Alex
assignee = Alex
Alex checks the dev
status = DONE
reporter = Alex
assignee = Max
then switch back to Max (so that the ticket can be counted as solved by Max, not by Alex) - can it be done automatically?
Hi @BenWade
This can be done, but you likely need another custom field to store the user who worked on it during Development/In Progress to refer back to.
In summary, this would involve...
If you'd like more specific instructions on how to set this up, let us know!
Ste
I think I am close to solving this puzzle. Only the last step is needed. It should check who was assignee when the status of the issue was 'Development' or 'In Progress' and put him back as assigne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @BenWade
That's what the "Developer" field in my original answer is suggesting - you could set it to be the "Developer", but only if that field was previously populated during the In Progress/Development transition.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To be honest, I do not want to add an additional field. We have so much things going on.
I think I just need JQL that can solve this issue.
I have come up with this code. will try it rn:
history.assignee != reporter AND (history.status = "Development" OR history.status = "In progress")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @BenWade
I'm not sure there is JQL which will solve this issue - JQL searches for issues and provides them as a list, rather than finding specific historic issue parameters.
The suggestion I've provided is probably the simplest one. Otherwise you could try sending a web request to the API to recall the historic assignee, but I think that could get quite complex.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste Wright You are correct, Stephen. I will follow your advice. Thank you fro your help.
Could you please maybe send me screenshots of the two automation flows that have to eb created? Would be nice if you make step by step guide.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @BenWade
That could be quite a few screenshots! I'll write it down in the first instance :)
---
Prerequisites
Create a custom User Picker field, to do this...
Notes:
---
Rule 1
Assign Developer when the issue transitions to "In Progress"
---
Rule 2
Next, we'll assign the issue to the Developer if the status is UAT, and Reporter = Assignee:
---
A few notes:
---
Let us know if this works!
Ste
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.