Hii,
how can I set a parent custom field value?
I've already tried the following code:
def cf = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Single Select");
def value = ComponentAccessor.optionsManager.getOptions(cf.getRelevantConfig(issue))?.find { it.toString() == 'Value'};
issue.parentObject.setCustomFieldValue(cf, value);
issue.setCustomFieldValue(cf, value); The last code line does work, so the customfield value of the subtask customfield gets updated. Unfortunately, the customfield of the parent Issue does not get the new value!
Best regards,
Louisa