Jira Event Listener is not called

I’m trying to develop an Issue event listener. After downloading https://bitbucket.org/atlassian_tutorial/jira-event-listener , I build it and deployed it into my local jira installation. It didn’t work. I couldn’t see anything in log file. After that I changed this code to see whether it is working or not. I threw an runtimeException in the listener method. But anything changes. I add this listener to jira listener in which Administration page. Are there any configuration in Jira?

2 answers

This widget could not be displayed.

If you've added it in the listener page, then that's where you have the "configuration in Jira". Have a look at the documentation for it to see what it should be doing and how to configure it.

This widget could not be displayed.

Problem is resolved by restarting jira. @Nic thank you for your comment. I read documentation

how did you the problem resolved. because, i have same problem. i use jira 5.1.8. and I’m trying to develop an Issue event listener as you.

I added some print outs (see below), but it does not work. I see nothing on the catalina.out. it looks like the plugin is not loaded the JIRA and @EventListener does not work.

@Override
public void afterPropertiesSet() throws Exception {

eventPublisher.register( this);

System.out.println("REGISTERED");

}

/**

* Called when the plugin is being disabled or removed.

*

@throws

Exception

*/

@Override publicvoid destroy() throws Exception {
eventPublisher.unregister( this);

System.out.println("DESTROYED");

Yes could you guys please elaborate on how you resolved the issue? I have the same problem of the listener not writing anything to the log file.

Hi Aykut,

 

Can you please help me in putting listener 'Name' and 'Class' on jira 'Administrator' page.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

112 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you