Hello,
We have a scripted custom field which is calculated depending on values in other custom fields. For sub-task it inherits the value from parrent issue.
code looks like this:
if (issue.issueTypeObject.name == "Sub-task")
{
def field = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Total Score")
def abc123 = issue.parentObject.getCustomFieldValue(field);
return abc123
} else
{
count the value
return value
}
I want to ask is it somehow possible for linked issues to inherit value of this scripted field? If the value is updated in "main" task it should by updated in all linked issues. Does anybody have a solution for this?