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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
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