JIRA server: 7.3.8
Using ScriptRunner workflow function to clone/link an issue. I have below codes in [Additional issue actions] to avoid attachments to be cloned. however it doesn't seem to be working.
Anything I can try?
checkAttachment = {attachment -> false};
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue
def user = ComponentAccessor.getUserManager().getUserByName('jeff.fulton')
issue.setAssignee(user)