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

> 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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,646 views 18 21
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