Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to call rest API Jira 3 from React app. Got CORS. Any suggestions?

Nikita Shevchik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2025

Hi guys. Im trying to use JIRA api directly from my react app. Is it possible to resolve CORS? Or its better to set up server for my app before to use REST API Jira v3?image.png

1 answer

0 votes
Mercy
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 Champions.
December 9, 2025

Jira Cloud’s REST APIs cannot be called directly from a browser app because the endpoints do not send the required CORS headers. This is intentional for security reasons and is noted in Atlassian’s [Jira Cloud platform API docs](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#calling-the-api-from-javascript) — browser calls will be blocked unless they originate from an Atlassian Connect app or Forge app context. For a public React frontend, you’ll need to proxy requests through a backend server you control, which can handle authentication (OAuth 2.0, basic with API token) and forward responses with proper CORS headers.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events