Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

fecru - event listener: annotation-based or "old style" using "implements EventListener"?

I am trying to implement an event listener to integrate fecru with our Jira workflow, but cannot make it work due to my event listening methods annotated with com.atlassian.event.api.EventListener fired upon event - they just do not get called.

plugin itself installs ok, i register listener bean with eventPublisher which gets injected (though is com.sun.proxy.Proxy, but register call does not throw), but no reaction once i start to generate events.

official docs state that i should use old style way - by implementing EventListener (the other one), however, there are many sources stating i should use annotation-based approach instead. what should i REALLY use? does fecru 4.8+ support annotation-based listeners?

is there anything special that i should include/import in pom?

0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events