Dear all,
I'm developing a javascript WebApp, which tries to create an issue on my JIRA cloud instance.
I am getting following error.
XMLHttpRequest cannot load https://XXXXXXXX.atlassian.net/rest/api/2/issue/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
In the moment this is not working because of CORS and I need to configure the whitelist, so that I'm able to
create issues from my domain.
I tried to find JIRA whitelist on my cloud instance , but I am unable to find it .
I have read the documentation but haven't found any link "whitelist" in my admin panel.
Kindly help me to resolve this issue.
Thanks in advance
Santosh
I don't intend to build an app, I need this from a custom web page in another domain.
Sorry, I meant web app. I think you can still take a look at the link I sent, it’s just a bunch of JS, it might be helpful.
If you just need access to the whitelist, I remember I read somewhere that it is not accessible in jira cloud. But I don’t remember where.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here, any solution on this ? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check out https://bitbucket.org/atlassian/atlassian-connect-express/src/master/ . You can use that as a starting point for your app. Tried it and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here, cannot find the whitelist, any pointers from anyone? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA CLOUD doesn't allow cross origin requests. You'll need a proxy service between the apps to connect to JIRA CLOUD REST API. Currently I'm trying to achieve the same thing with docker and reverse proxy with nginx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have to have your account with greater permission level than you have now. i have asked our JIRA admin to give me temporary global admin access and i saw the "Whitelist " tab. However, do let me know if this worked for you after adding the site to the whitelist see https://community.atlassian.com/t5/JIRA-questions/CORS-working-in-IE-but-not-in-Chrome/qaq-p/605592?posted=605910#U605910.
it's still not working for me even after adding it to the Whitelist
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you considered using Atlassian Connect?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.