I am using JIRA cloud and using Add attachment event Listener , but the script written in the Listener does not recognize "issue" variable. It works for other events but it gives this error for attachment event. Please advise how to resolve this.
Screenshot below