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

Hans-Hermann Hunfeld November 5, 2014

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
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2014

> 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