Hello,
I am trying to set the issue links though post functions using groovy. I would like to create the links based on a custom field value from the current issue to the new issue.
def customField = ComponentAccessor.getCustomFieldManager().getCustomFieldObject('<customfield_id>')
def customFieldValue = issue.getCustomFieldValue(customField)
def newIssue = 'abc-123'
if(customFieldValue = 1){
Link blocks
}
else {
Link clones
}
Thanks a mill.