Copy field from parent to subtasks in case not changed on the creation screen

We would like to copy two fields (single select list; db driven value which is based on the first choose) from parent to child but only in case of the user didn´t change the default value in the creation screen itself. Tried some settings, but it seems that although this is added as a post function (and unchecked the "Copy only if not set" in order to force udpate) the subtask will always get the default values stored in the custom field settings. In case of removing default value nothing is copied...?!

The use case is to connect the issue to our enterprise project system, the according project ID is stored in a custom field (single select list). The second, database driven field is using this value to inject it in it´s query to show all according open project tasks. Typically the subtask will inherent this data from its parent, but there are also some cases where it might differ so we need to separate this.

Any ideas how we can manage that? We have Script Runner and JMWE plugin in place...

 

Thanks & Regards,
Hans-Hermann

1 answer

0 votes

> and unchecked the "Copy only if not set" in order to force udpate

This is not something in script runner...?

Are you actually trying this with script runner, or are you just saying it's installed so you have that as an option?

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,119 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot