Hi,
I am a new Jira Admin. I have a self-hosted system on version 7.2.3 and script runner on version 5.3.1.
Previous admin have created an automation according to which they can clone bugs to HotFixes upon request. The HF created inherits all fields from the parent issue(bug).
They have now come up with a request, demanding that the Original Estimate field should be purged to the child issue(HF). I have tried:
def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'Original Estimate'}
issue.setCustomFieldValue(cf, null) but it doesn't function.
Any ideas about this?