I need to automatically make some changes to a JIRA-ticket's field, whenever certain events happen. It was recommended, that I write a custom event listener -- to be invoked by JIRA.
However, I'm somewhat unclear as to how to do it properly -- an online tutorial hosted by Atlassian creates a bean, whereas the Atlassian's own DebugListener.java and MailListener.java (from the current JIRA source-tree) use classes extending AbstractIssueEventListener without any mention of the beans-framework.
I used the tutorial's example, and can not make it work. Should I keep struggling, or should I change over to the other method? Which of them is the currently-recommended and official and which is "legacy"?
The JIRA we currently have in production is version 6.1.7 -- I do not need my plugin to work with anything before that.