Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Assignee with Script

Didem Seda Taş May 6, 2022

Hi,

 

I have two statuses named In Review and Deploy.

When the Issue comes to the reivew step, I want it to be assigned to the person (current user) who brought it to this step.

When Issue comes to Deploy step, I want it to be assigned to previous assignee.

I need scripts for these two requests.
Can anyone help?

 

Have a nice day..

1 answer

0 votes
John Funk
Community Champion
May 6, 2022

Hi @Didem Seda Taş 

I am not sure I completely follow your scenario, but see if this helps. 

Add a post function to the transition to the In Review status to set the Assignee to the Current User. 

When it goes to the Deploy status, it should still have the same Assignee if you don't clear it out, so it should be good. If you mean the person the card was assigned to before it came to In Review, then you will need to create a custom user picker field that gets populated with the user when it is moved to the status prior to In Review. 

Then you can create an Automation rule to set the Assignee to the value in that custom user picker field. 

Suggest an answer

Log in or Sign up to answer