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

This widget could not be displayed.

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

This widget could not be displayed.

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
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 11 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

32 views 1 3
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