Hello, we are trying to create a custom report on Jira using this tutorial;
https://developer.atlassian.com/server/jira/platform/creating-a-jira-report/,
but we have been getting the above error message whenever we try to run our project. In the tutorial, this is step 7.
We have imported these packages as mentioned in other threads
<Import-Package>org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package>
<Import-Package>javax.ws.rs*;version="[1,2)",
javax.servlet*;version="2.5",
javax.xml.bind*;version="[2.1,3)",
*;version="0";resolution:=optional</Import-Package>
These are the other dependencies we have added.
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>com.atlassian.gzipfilter</groupId>
<artifactId>atlassian-gzipfilter-legacy</artifactId>
<version>1.23.0</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>opensymphony</groupId>
<artifactId>oscore</artifactId>
<version>2.2.7-atlassian-1</version>
</dependency>
<dependency>
<groupId>com.google.collections</groupId>
<artifactId>google-collections</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.profiling</groupId>
<artifactId>atlassian-profiling</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>3.3.0-atlassian-2</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-lucene-dmz</artifactId>
<version>${jira.version}</version>
</dependency>
<dependency>
<groupId>com.atlassian.core</groupId>
<artifactId>atlassian-core</artifactId>
<version>5.0.9</version>
</dependency>
We are using Jira version: 7.13.0 and amps.version:8.0.0
Any help would be really appreciated, as we have had this error for the past week.
Shehroze and I were stuck on this problem for at least a week I think, and we managed to find the fix: Don't muck around with the dependancies.
Initially, when you download the code from the tutorial, this give you a load of compile errors. The key is to ignore these.
However, you do have to change the following:
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>jira-maven-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
Initially, the artifactId was set to maven-jira-plugin.
Also, the following version of Jira and amps have to be used:
<properties>
<jira.version>7.13.0</jira.version>
<amps.version>8.0.0</amps.version>
This caused a great deal of pain for us, but hopefully you won't run into the same problem!
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.