Hi, everyone!
I tried to make a get request, but I have a following issue;
Request: http://localhost:xxxx//rest/raven/1.0/api/testexec/xxxx/test
My WebApp works fine with Jira Rest APIs but not with Xray Rest APIs.
Should I enable an option in JIRA server for Xray?
API token only applies for Jira cloud
Hi @Martha Sanchez
I hope you are doing well.
That's the browser blocking the request to Jira because of CORS.
Jira doesn't send the Access-Control-Allow-Origin response header (see JRASERVER-65362 ) so you might not be able to call that API from your other web application.
You may want to test if that's the issue by disabling CORS on Chrome and trying the API.
If that resolves the issue you may need to enable the CORS filter on the Tomcat level.
I hope that helps.
Kind regards,
Thiago Masutti
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.