Can we register custom Listener to jira OnDemand account?

Hello,

We have built a custom Listener similar like inbuilt MailListener.

Can we register our custom Listener to jira OnDemand account? If Yes How?

2 answers

no as of now it is not possible, check the restricted functions here

https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand

and check here improvement request has submitted with atlassian

https://jira.atlassian.com/browse/JRA-31598

atlassian is intraducing atlassian connect to add custom plugins to ondemand instance

https://developer.atlassian.com/display/AC/Atlassian+Connect

logically you make issue-listener register/unregister as

/*

* Called when the plugin has been enabled.

* @throws Exception

*/

@Override

public void afterPropertiesSet() throws Exception

{

// register ourselves with the EventPublisher

eventPublisher.register(this);

System.out.println("Installed or Enabled");

}

/*

* Called when the plugin is being disabled or removed.

* @throws Exception

*/

@Override

public void destroy() throws Exception

{

// unregister ourselves with the EventPublisher

eventPublisher.unregister(this);

System.out.println("Disabled or Uninstalled");

}

but it will not be visible under Listener's list.

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

110 views 1 5
Read article

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