Assign issue to last transtionion executor

Hey,I'm trying to write script what will assign issue to last transition executor, script should be triggered by postfuncion in different transition. Code what I write below, unfortunately didn't works

for example

from In progress to X (Transition from where I want to take value from ) and then from X to in porgress (Transition where script should be triger)

1 answer

Wouldn't it be easier to store the user who does In Progress -> X in a custom field, and then read that field to set the assignee when doing X -> In progress? That's the approach i've used with a similar requirement before.

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...