Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira plugin development: EventListener not working

Elias
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!
November 18, 2021

Hey,

I wanted to develop a plugin that listens for jira events. Therefore I followed this tutorial (https://developer.atlassian.com/server/jira/platform/writing-jira-event-listeners-with-the-atlassian-event-library/). First I had the error, that the class JiraImport wasn't found. But I could fix that by adding the following depedency:

<dependency>
            <groupId>com.atlassian.plugin</groupId>
            <artifactId>atlassian-spring-scanner-annotation</artifactId>
            <version>2.1.8</version>
            <scope>provided</scope>
</dependency>
to the pom.xml.
Now everything compiles. But when I create//resolve//close an issue, there is nothing logged to the console as expected in the tutorial. I tried everything I could think of but could not fix it. I repeated the tuorial three times to eliminate any typos on my side but that does not seem to be the problem :(
My log4j.properties: https://pastebin.com/dKrYJcPQ

Thank you for any tips in advance!

 

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
November 18, 2021

With development questions, please go to https://community.developer.atlassian.com/

That site is developed for exactly those topics.

Elias
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!
November 23, 2021

Okay, thank you and sorry :)

Suggest an answer

Log in or Sign up to answer