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
Posted 5 hours ago in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

15 views 0 1
View post

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