JSON-P is disabled in JIRA Cloud
Symptoms
Users are no longer able to use JSON-P in order to retrieve the results using REST requests.
Cause
Due to security reasons, JSON-P is no longer supported and is not possible to enable it in JIRA Cloud. It is, however, possible to enable it in JIRA Server via the system property by enabling the setting atlassian.allow.json to true
.
Workaround
The following is a list of workarounds that can replace the use of JSON-P
- Users can use CORS which is going to be supported in JIRA but is currently undergoing development and lacking of JIRA specific documentation.
- Users can use server-side scripting (Java, PHP, Ruby..etc) to make the REST calls to Cloud instances (which is not require JSON-P to get the results). This can be done by enabling the client to make REST requests to the server side and then the server side will make the REST requests to JIRA Cloud.
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.