JIRA Set custom field value to Assignee field

Hi All,

I have an requirement where, I would like to copy a field (basically i have User Picker Custom field) upon transition say from STATUS A to B, Custom field value i.e user name should be assigned as Assignee.

 

Please help me on this. I would like to achieve this using Post function without any New add on installed.

Is it possible to go with this approach.

 

Many Thanks,
Akash 

1 answer

2 votes

Hi, Akash.

You can add a post-function to this transition and use the Copy value from other field post-function from the JIRA Suite Utilities plugin to copy this. smile

Cheers,
Matheus 

@Matheus Fernandes : I tried using Copy Value from other field but upon transition Assignee is not getting updated. Anything that i am missing. Thanks, Akash

This should work. Where did you put the post-function script? Check the order of the post-functions. Also, try checking the logs for any hints about the issue. Enable JIRA Debug logging if possible.

To complement what Gabrielle said, although silly: make sure the workflow draft was published. :)

@Gabrielle Bautista [ACP-JA] & @Matheus Fernandes Hi All, It worked. THanks a Lot everyone for getting this thing done. Much Appreciated. Many Thanks, Akash

Hi all, will this post function work to copy value from one field to another within same screen? not from one transition to another or one status to another status. trying to copy value using javascript but not working.

Thanks in advance.

The custom field with values will always be present in an "Issue" and if they are present in the "View Screen". There are "Transition Screens" too and don't mix em up smile

Hi Akash,

              How u set customfield value to assignee field. we have same issue.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

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 ...

2,799 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot