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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

839 views 3 9
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