I am trying to do a simple custom listener on the IssueLinkCreatedEvent and IssueLinkDeletedEvent. According to the documentation, it seems to support those events https://scriptrunner.adaptavist.com/5.1.6/jira/releases/current-release.html
However, when in my script I write
def name = event.issueLink.name
It does not work. It give me an error saying “No such property ‘issueLink’ for class com.atlassian.jira.event.issue.IssueEvent”.
I know it’s not a property of that event, but it’s not that event that I am expecting. Is there a way to do a proper ScriptRunner listener with that event?