JIRA Rest Java Client libraries

Kandarp Gandhi July 2, 2015

Hi

I am fairly new to JRJC . I am unable to find the libraries that are used in the atlassian tutorials. Any idea how can i get the jar files ?

import java.net.URI;
import com.atlassian.jira.rest.client.api.JiraRestClient;
import com.atlassian.jira.rest.client.api.JiraRestClientFactory;

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
HarryH
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 2, 2015

The jars are:

* jira-rest-java-client-api

* jira-rest-java-client-core

* jira-rest-java-client-plugin

You can manually download from maven repo.

But the best way is to write it in pom.xml.

Try to include this in your pom.xml.

<dependency>
    <groupId>com.atlassian.jira</groupId>
    <artifactId>jira-rest-java-client-api</artifactId>
    <version>2.0.0-m25</version>
</dependency>
<dependency>
    <groupId>com.atlassian.jira</groupId>
    <artifactId>jira-rest-java-client-core</artifactId>
    <version>2.0.0-m25</version>
</dependency>
0 votes
Kandarp Gandhi July 2, 2015

Thanks Harry. Using maven is the better way I guess.

Also, I have never used maven and have always used jar files. Is there any easy tutorial to understand how to use maven ?

TAGS
AUG Leaders

Atlassian Community Events