Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 consume Jira API in React or any other UI application



Previously we use basic authentication to consume Jira REST API and display Jira tasks in the UI application. Our UI app directly sent a request with Authorisation header (basic auth) and received an answer. 

As basic auth is deprecated now we have to migrate to OAuth for REST APIs. here is an example of how it might be implemented with java app, but how to do the same process directly from the client application? Shell we somehow handle RSA-SHA1 keys from UI as well?


Any feedback is appreciated.




1 answer


i am currently having the same issue with a React app; what i discovered so far: you can't do a POST request from your react frontend because of CORS policy. So you should do it via your backend. I saw that there is a way to whitelist domains in jira SERVER, but i can't find this option for jira SOFTWARE; in doing so, you could whitelist your localhost or front end site, and send POST request to Jira and create ticket for example. I am still using basic Auth.

This is what i discovered so far, but i'm investigating more to see if i can directly create a ticket with a post request from frontend, without the need of using backend

Suggest an answer

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

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

740 views 2 21
Read article

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