I have a form in a SharePoint 2016 site that saves data in SharePoint list first, then creates an issue in Jira with the same details entered by user. Jira REST APIs is being used to create issues in Jira.
The form gets submitted and issue gets created successfully in Jira from Internet Explorer. However, the same form throws an error when trying from Google Chrome. Below is the screenshot of the error:
Error Message: Access to XMLHttpRequest at ‘https://najiratestenvironment.xxxxxxxxxx.com:8443/rest/api/issue’ from origin ‘https://xxxxxxxxxx.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Looks like the browser is not allowing the Cross Origin Request from SharePoint to Jira. Any suggestions on resolving above issue would be helpful.
Thank you
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.