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 

2 answers

This widget could not be displayed.

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.

This widget could not be displayed.

hi,

this solution works on transition which means it goes from state A to B. how can i get assignee when no state changes. in other words, how can i set custom field when user change assignee without changing state in workflow(so no transition fires)?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

165 views 2 0
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