I have created an Office Add-In which works in web environment and I am trying to fire a jira api, but the preflight request is not returning any response. An error is thrown on console
Preflight response is not successful
XMLHTTPRequest cannot load <API URL> due to access control checks.
Failed to load resource: Preflight request is not successful.
I have tried entering my ip address in WhiteList section in System management on Jira. But still the error is unresolved. I also came across a method to introduce a proxy before jira providing appropriate response headers, but that seems like a workaround. Is there any way to resolve this issue?