Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Listener Script which will detect any changes to the Custom field

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. 




1 answer

1 accepted

0 votes
Answer accepted


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


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.

Hi @Hugo Gómez 

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



Suggest an answer

Log in or Sign up to answer