Backend programming or frontend programming? which one shall i choose for creating issue using Rest api

Hi,

I’m new to Jira. I want to create issue in Jira Cloud(hosted in AWS) site using rest Post api from Angular8 site(frontend programming) but Im getting CORS error.

Error:-
“Access to XMLHttpRequest at ‘https://mysite.atlassian.net/rest/api/2/issue’ from origin ‘https://ABCD.sharepoint.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.”

Question:-
I’ve whitelisted my sharepoint site in Jira cloud site still i’m getting above CORS error. I gone through many articles but nothing works.
Is it possible to resolve above error using frontend programming like Angular8 Or Shall i use backend programming like node.js etc because its crossdomain call?

Your help with this would be greatly appreciated.

Thanks,
Mahesh S

Hi @MaheshSherkar,

The Jira REST API does not support CORS requests.

Regards,
Dugald