It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JRJC and JIRA Cloud

With reference to following JRJC wiki,

https://ecosystem.atlassian.net/wiki/spaces/JRJC/pages/27164680/Tutorial

This seems kinda out of date and wondering if there is an updated version which can be used with both Server and Cloud version of JIRA. Looking for some references as to connecting to cloud version of JIRA. I have built a sample REST client using JRJC working with server version (7.x) and wondering if it can work with cloud version as well.

4 answers

1 accepted

0 votes
Answer accepted

For the most part, yes.  The REST APIs on Cloud and Server are mostly the same, so a JRJC based application will talk to both of them the same way.

However, they are diverging products, so do not expect them to be identical, and certainly plan for them to diverge further.  I suspect all the basic stuff will remain the same (projects, issues, workflows etc), but you'll find reporting and admin stuff diverging quite a lot.

That has nothing to do with JRJC.

Application links are for linking Atlassian applications together.  The JRJC is a program that gives codes a client library for handling Jira REST calls in their applications.

I am using Jira Cloud . Using JRJC , I am not able to do authentication itself, I am following this blog (https://www.baeldung.com/jira-rest-api) , creating jira client by passing username & password in function shows below , however I am getting 401 authorization failure . Is there different client for cloud ?

private JiraRestClient getJiraRestClient() {
return new AsynchronousJiraRestClientFactory()
.createWithBasicHttpAuthentication(getJiraUri(), this.username, this.password);
}

Is there any viable java lib for Jira Cloud?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you