Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Sergey Kachanovskiy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2020

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
TAGS
AUG Leaders

Atlassian Community Events