Copy value from one custom filed to another when the value of the first custom field is changed

Hi All,

 

We need to copy the value from CF 1 to CF 2 as soon as the CF 1 value is changed.  Adding a post function for copying the values does not meet our needs. Can this be done with a script?

Regards,

Nadica

2 answers

This widget could not be displayed.

Hey @Nadica Gaber,

I agree that the POST function doesn't really give you the ideal solution you're looking for.

This can definitely be done with a script, and I'd recommend an add-on like Power Scripts.

We've put together a quick tutorial video showing exactly how to copy a field value from one field to another as soon as the first field's value is changed. You can even copy and paste the SIL script to see how it works.

Hope this helps!

Johnson

This widget could not be displayed.
Alexey Matveev Community Champion Nov 16, 2017

Hello,

Which plugin do you have to write a script? If you have Adaptivist Scriptrunner, you could write a listener. The listener would catch the update issue event and checked if the required field changed. If it ischanged, then you could change the other field.

Read more information about listeners here:

https://scriptrunner.adaptavist.com/5.0.0/jira/listeners.html#_custom_listeners

But you are not limited to Adaptivist scriptrunner, there are must be other plugins with such functionality

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

146 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