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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.