It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,082 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you