Hi,
We are working on a plugin for Jira 7.2.X.
Here i noticed a strange issue which i am unable to explain why.
Old way i.e. Jira 6 way of dispatching events dispatches events in Jira 7 too i.e.
ComponentAccessor.getIssueEventManager().dispatchEvent(eventIdAsLong, issue, context, loggedInUser,false);
Where as the Jira 7 way does not dispatch an event and the Lister doe not get any events.
IssueEvent issueEvent = new IssueEvent(issue, context, loggedInUser, eventIdAsLong,false);
IssueEventBundleFactory eventBundleFactory = ComponentAccessor.getComponentOfType(IssueEventBundleFactory.class);
IssueEventBundle eventBundle = eventBundleFactory.wrapInBundle(issueEvent);
ComponentAccessor.getIssueEventManager().dispatchEvent(eventBundle);
Does anyone know what is the right way to dispatch events in Jira 7?
Thanks in advance,
Parashar