Can we register custom Listener to jira OnDemand account?

Dhaval Upadhyaya September 23, 2013

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

0 votes
Bharadwaj Jannu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2013

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.

0 votes
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2013

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

Dhaval Upadhyaya September 23, 2013

Ok Thanks prasad

Suggest an answer

Log in or Sign up to answer