Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Loading ReviewManager in custom plugin

Marten Kreienbrock
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2013

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>

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Jakub Papcun January 21, 2014
TAGS
AUG Leaders

Atlassian Community Events