Hello,
We have built a custom Listener similar like inbuilt MailListener.
Can we register our custom Listener to jira OnDemand account? If Yes How?
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
Ok Thanks prasad
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.
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.
It looks like you're new here. Sign in or register to get started.