I am developing one angular where i have to create issue from angular to jira. For that, i am trying to integrate Jira server rest api from my angular code. But it is throwing cors issue.
Have whitelisted my angular url domain in jira whitelist
Jira instance is running in server
Angular code running in different server
Jira version 8.7.1
Angular version 10.
Attached error snap:
Hi @gowtham mahes
I hope you are well.
By default, Jira comes with a clickjacking protection enabled for any request.
The following KB article has the information about it: Security headers in JIRA .
On Jira, this is an all-or-nothing type of configuration and we have an open feature request for that: JRASERVER-67896 - Enhancement on the clickjacking response headers for Jira.
On that feature we have a workaround that can be applied on proxy/LB level to allow requests from specific domains.
I hope that helps.
Kind regards,
Thiago Masutti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.