Hi All,
I am following the documentation https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+JIRA+event+listeners+with+the+atlassian-event+library
The documentation says, It is applicable for 4.0 and onwards.
My code is working fine in JIRA 4.4, but when I tried it for JIRA 4.0, It gives me the following exception:
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 43: package; (package=com.atlassian.event.api)
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:342)
... 25 more
One more question: I also want to capture PluginEnabledEvent (http://docs.atlassian.com/atlassian-plugins-parent/2.1.4/apidocs/com/atlassian/plugin/event/events/PluginEnabledEvent.html), is it available in JIRA 4.0?
For Atlassian Documentation Team,
Please update your documentation https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+JIRA+event+listeners+with+the+atlassian-event+library, if it is not applicable for JIRA 4.0.
Community moderators have prevented the ability to post new answers.
Hi Mizan, Thanks for replying.
But I haven't found any action related to enable plugin and I think, that is also not a good way to do that because that action can be removed in future versions of JIRA.
Check in
/WEB-INF/classes/actions.xml
is there a action to enable plugin .
If there is then you will have extend this action
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.