Parent & Child field syncing

I want to write custom code to support the behaviour below:

  • Parent A has a field called "ABC"
  • Each Child task of Parent A has this field "ABC" as Read-only
  • "ABC" edited in the Parent should filter down to each child every time its updated. Obviously this wouldnt be a true live sync but should call the same value as soon as the end user refreshes the page to see the updated value

I really, want a Scripted Function that reads custom fields on a parent-task for change, and if changed carries that value over to the child-task. I am using "Script Runner" but I cannot figure out how to do this. Could you please provide the script that can be used in script runner and also i want to automate the job for all the issue's & sub-task in our instances.

1 answer

Hi Manu,

To achieve what you would like to do I suggest that you implement a Script Listener which triggers on issue updated and set it for that particular project and that particular issue type. In the script listener you could implement all the logic that you need. It is possible to synch fields using this method.

HI Eman,

Could you help me with the scrip and how can i implement a Script Listener. As i am quite new in this.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

51 views 2 2
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