Hello,
We have built a custom Listener similar like inbuilt MailListener.
Can we register our custom Listener to jira OnDemand account? If Yes How?
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.