I am currently developing a custom workflow and want to create a validator similar to the "no open reviews" condition of the jira-fisheye-plugin.
Unfortunatly, whenever i try to use the ReviewManager to gain access to the crucible reviews, i get nothing but exceptions.
If i use the component-import in my atlassian-plugin.xml, i always get a missing requirement:
[INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.workflow-extensions [115]: Unable to resolve 115.0: missing requirement [115.0] package; (package=com.atlassian.jirafisheyeplugin.domain.crucible)
And of course, if I leave out this part, I get ClassNotFoundExceptions.
Has anyone managed to use this class successfully and can tell me how to do it?
just to be on the save side, and because it might help:
dependency in pom.xml:
<dependency>
<groupId>com.atlassian.jira.plugins</groupId>
<artifactId>jira-fisheye-plugin</artifactId>
<version>5.2.9</version>
<scope>provided</scope>
</dependency>
import in altassian-plugin.xml:
<component-import
key="reviewManager" >
<interface>com.atlassian.jirafisheyeplugin.domain.crucible.ReviewManager</interface>
</component-import>
Community moderators have prevented the ability to post new answers.
See very similar question which answers also this. https://answers.atlassian.com/questions/253247/use-of-jira-fisheye-plugin-in-another-plugin?page=1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.