Listener Script which will detect any changes to the Custom field

Venugopal Paladi August 8, 2022

Hi Everyone,

Hope you are doing well.

I need a Listener script which will detect any changes to the Custom field 1 on issues in the X and Y projects.  Upon any change, if the Custom field 2 field is blank, copy the Custom field 1 field value to the Custom field 2.  If the Custom field 2 already has a value in it, do not overwrite it.

Any ideas / Help will be appreciated. 

 

Thanks!

Venu

1 answer

1 accepted

0 votes
Answer accepted
Hugo Gómez August 9, 2022

Hi

If you have access to Automation you can create such a rule and enable it only for both projects.

Trigger: 

Field value changed
Rule is run when an issue's field value changes.
You can then select the custom field to watch.
Then, you can add an IF-ELSE to copy over the value to custom field 2 only if it is empty.
Venugopal Paladi August 10, 2022

Hi @Hugo Gómez 

Do you have any idea on Script (Listener). That would be helpful for me.

 

Thanks!

Suggest an answer

Log in or Sign up to answer