Execute the function before the transition

Hi all! 

Please help me with my case:

(comment: i have add-ons JSU)

I want to be able to change the assignee, but (!) if assignee has been changed - i need to get the value of the field of the current assignee. 

What i tried to do:

i create 2 transitions.


In first transition, i make a post-function that copies the value current assignee to custom field (his name: "First assignee" )


In second transition i wanted to open screen ( https://yadi.sk/i/c_wffzl33PNY9a ), where have field Assignee (for change assignee), but screen not opened.


How can i implement?

maybe create another ("new assignee") custom field? 


1. on screen in transition: custom field, for to word new assignee

post function:

2. copy current assignee to custom field "First assignee"

3. copy custom field "new assignee" - to current assignee


Thanks for all = )

2 answers

1 accepted

0 votes
Accepted answer

I could realize this function with help addon: 

Jira Misc Workflow Extensions

Postfunction name: 

Copy value from field to field (JMWE add-on)Copy the value(s) of one field to another field. Can copy the value of the field before it was changed on the transition's screen.


To be honest I do not quite understand what you want to accomplish.  What do you mean by current assignee? If assignee has been changed then the current assigne equals to assignee. Or you want to save somwhere previous assignee?

I want to be able to change assignee and after changing in the Custom field Primary assignee field the value of who was before the change appeared.
I apologize for the English. my assistant is Google translator :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

124 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you