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

Pulling Jira REST API on HTTP Edited

Does OAuth connection have to be done via HTTPS to pull Jira REST API? Trying to use the API via ReactJS to create custom reports.

Following documentation provided by Atlassian on Jira REST API for servers. And after getting past CORS error currently stuck on more OAuth errors.

1 answer

0 votes

Hi @Prav ,

It totally depends on how you Jira Server is configured:

  • If it is configured to only accept incoming HTTP requests then you can only send REST API requests using HTTP
  • if it is configured to accept HTTPS only, you will have to send the requests via HTTPS instead
  • if it is configured to accept both, you can use both.


Also, not sure what you are using to test your REST API calls, but it might be a good idea to generate the Oauth token, authorize it and then first try to authorize some REST API calls using Curl.

This way you can isolate the problem and determine if the problem is with the generated  Oauth token, or with your code or with the endpoint itself. 


For further details on view please review:


I hope this helps.



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