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

How to authenticate to Jira REST API and retrieving JSON data

I've been attempting for days on how to authenticate using login credentials and trying to retrieve specific JSON data for transitions in Jira. Can someone please help me with this one? If anyone can give me any pointers on what library is easiest to use and how I can I easily parse the JSON. Thanks!!!

String username = "username";
String password = "password";

Authenticator userAuthenticator = new Authenticator(username, password);
String client = ClientBuilder.newClient()
.credentialsForDigest(username, password)



1 answer

0 votes
Warren Community Leader Sep 11, 2019

Hi @Joshua Azicate 

First question to ask is whether this is a cloud or server version of Jira - the answer to this will decide how to proceed.

Using the server version of Jira

Suggest an answer

Log in or Sign up to answer

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