How do I make JIRA REST API calls using localhost?

Oliver McPhee June 10, 2015

How do I make JIRA REST API calls using localhost (client-side)?

I am getting cross-domain errors, json-p is being phased out and I don't have access to JIRA settings (its hosted in my company, but I'm just trying to do a local query for embedding a page in my SharePoint page)

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Jason Smith January 27, 2017

Was this ever figured out?  I'm running into a similar issue, I will send a proxied request to create a new issue:

POST http://localhost:8000/jira/rest/api/2/issue

and the Origin and Referer are being set with http://localhost:8000, and results in a 403.  If I manually remove the Referer header via Postman Interceptor (or change it to https://domain.atlassian.net) it works correctly.

Any help would be awesome!

TAGS
AUG Leaders

Atlassian Community Events