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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

39 views 0 3
Read article

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