Hi, I'm trying to connect my company's JIRA host name with Nuxeo's open source RoadMap, and unfortunately I have not been able to get it working. So far I've added the host web address to JIRA's whitelist as an admin. Then I modified the httpd.conf and ssl.conf files to make sure it includes https, but Firefox FireBug is informing me with a warning that the "Cross-Origin Request Blocked: The same origin policy disallows reading the remote resource at https://jira.my.company.hostname/rest/api/latest/project/myProject/versions. This can be fixed by moving the resource to the same domain or enabling CORS."
For when I access https://jira.my.company.hostname/rest/api/latest/project/myProject/versions and https://jira.my.company.hostname/rest/api/latest/project/MyProject/components, I see arrays of information and it does work. However, my webpage cannot seem to connect with JIRA.
As for the httpd.conf, I have followed this website: http://www.webcodegeeks.com/web-servers/cors-and-how-to-enable-it-in-apache-web-server/ and it still hasn't worked.
I was wondering what am I doing wrong and what else is missing. Any help would be appreciated thank you!
Community moderators have prevented the ability to post new answers.
Your RoadMap web server should return "Access-Control-Allow-Origin: https://jira.my.company.hostname" header along with the page that triggers request to your JIRA. You can inspect tnis with FireBug as well.
If the Access-Control-Allow-Origin is not present, then you did something wrong with your RoadMap apache. Here is result of my quick googling: http://superuser.com/questions/811907/apache-add-access-control-allow-origin-header If still troubles with apache, please ask on some system administration forum like http://serverfault.com/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.