accessing JIRA 4.2.1 issues through Java/Eclipse

I have gone through the below tutorial for creating issues using JIRa 5.0.

But i am using JIRA 4.2.1 along with sdk 3.2.3.

I am not able to execute the atlas-create-jira-plugin-module to create a servlet.

however i have created manually, but some of the imports such as

import com.atlassian.sal.api.user.UserManager;

import com.atlassian.templaterenderer.TemplateRenderer;

import com.atlassian.crowd.embedded.api.User;

are throwing build error.

can any one give me help me with link/tutorials to create issues using JIRA 4.2.1?

3 answers

1 accepted

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '2efccae4e6
fcfefcb82c0bf500dd5d3debab5676'; remote = '<!DOCTYPE' - RETRYING
Downloading: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plug
in-parent/0.6.9/maven-cli-plugin-parent-0.6.9.pom
1K downloaded (maven-cli-plugin-parent-0.6.9.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '2efccae4e6
fcfefcb82c0bf500dd5d3debab5676'; remote = '<!DOCTYPE' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

It seems to a broken checksum calculation of org.twdata.maven:maven-cli-plugin-parent:0.6.9:pom at the server side. Try to use another repository server e.g. maven central.

Always use the latest SDK (actually 3.10.4). The version of the SDK is independent of the version of the target product. You should provide the Jira version in the pom and the sdk takes it into account. In this way the above mentioned tutorial should work well.

I have installed sdk 3.10.4 and the JIRA version i am using is 4.2

Please find the pom.xml

<dependencies>

<dependency>

<groupId>com.atlassian.jira</groupId>

<artifactId>atlassian-jira</artifactId>

<version>4.2</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>4.6</version>

<scope>test</scope>

</dependency>

<dependency>

<groupId>com.atlassian.jira</groupId>

<artifactId>jira-func-tests</artifactId>

<version>4.2</version>

<scope>test</scope>

</dependency>

</dependencies>

However, i have ran the atlas-cli, which got failed.

How to overcome this problem, are i am missing anything?

What was the output of the failed atlas-cli? It is only the dependency part of the pom, isnt it?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

116 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you