I have written a plugin using SDK 3.11 which supports JIRA 5.0 and when i deploy in JIRA 5.0.6 i get the below error
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.misys.alm.jira.migration.JIRAMIGRATION [87]: Unable to resolve 87.0: missing requirement [87.0] package; (&(package=com.atlassian.crowd.embedded.api)(version>=5.0.0)(version<=5.0.0))
does it mean i cannot write plugin for version >5.0.0
No, the plugin kit supports Jira 4 through to 5.latest. Your code needs to be updated to deal with the newer API
Thanks Nic,
I get the below exception
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.misys.alm.jira.migration.JIRAMIGRATION [87]: Unable to resolve 87.0: missing requirement [87.0] package; (&(package=com.atlassian.crowd.embedded.api)(version>=5.0.0)(version<=5.0.0))
looks like there is a version mismatch, also in the pom.xml should i change the below element in pom.xml ($jira.version)to anything else..how do i change the jira version so that i deploy on 5.latest version ? also attaching pom.xml (pom.txt)
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The pom.xml should contain the Jira version you are aiming to run the plugin on, as a property. If you've used the sdk to generate it, it's probably near the bottom (And is obviously called jira.version)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.