Hi!
For a plugin I am writing for JIRA Agile, I am trying to inject the `SwimlaneService` class for saving swimlanes. When I inject `RapidViewService` it works fine, but osgi seems to not be able to resolve `SwimlaneService`.
I have the following in atlassian-plugin.xml:
<component-import key="swimlaneService"> <interface>com.atlassian.greenhopper.service.rapid.view.SwimlaneService</interface> </component-import>
The error I get is:
Plugin '...' never resolved service '&swimlaneService' with filter '(objectClass=com.atlassian.greenhopper.service.rapid.view.SwimlaneService)'
Is there any way to get this dependency to work?
Thanks!
Community moderators have prevented the ability to post new answers.
Hi Gaya,
Probably you will not be able to inject SwimlaneService since it's not declared as public component in JIRA Agile plugin descriptor. I am downloading sources to be sure. Will update you later.
=== Update: That's true, SwimlaneService is not a public component.
I suggest you to download JIRA Agile sources (you can access them under my.atlassian.com if you bought license for JIRA Agile) and take a look at atlassian-plugin.xml, section "public Java API to be used by others. DO NOT CHANGE if you don't know what you're doing.". Maybe you can find component to use instead of SwimlaneService.
Thanks for taking a look for me Volodymyr, I will try your method and get back and update the ticket whether it worked.
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.