what Jira Java REST client should I use

When I look for a jira java rest client, I find that I can use one of the following options available:

Atlassian JIRA REST Java Client » 2.0.0-m2:

https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client/2.0.0-m2

(last update done from Dec 2012)

or

JIRA REST Java Client Implementation » 5.0.4

https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client-core/5.0.4

along with

JIRA REST Java Client Public API » 5.0.4

https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client-api/5.0.4

(last update done from Dec 2017 for both)

 

In principle, the jira-rest-java-client is more easy and clear to use and I just need to add only one dependency to my project, however:

Is there any actual difference between the two options, despite the last date update provided by maven? 

I have checked that in both cases you cannot create a Project, despite it is possible based on https://docs.atlassian.com/jira/REST/7.0.0-m01b/#api/2/project-createProject

What option should I go for?

 

2 answers

Hi @Jorge Amat

 

you should use the newest JIRA REST Java Client Implementation, i.e.  https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client-core/5.1.0

 

 

Regards,

  Jakub.

Hi @Jorge Amat,

I've seen lots of developers utilizing creating their own URI's.

For example:

String projectURI = "/rest/api/2/project/" + projectIdOrKey + ... );

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

477 views 1 14
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