Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get response from JIRA Cloud REST API?

Enkhtaivan Ganbat
Contributor
June 10, 2018

I'm trying to get issue data from JIRA Cloud REST API by running the following javascript function:

test script.png

but getting the following error:

Cross-Origin Resource Sharing - error.PNG

How can I resolve this problem? What I'm trying to achieve is to get issue data from JIRA Cloud REST API, display those on a single web page and group by customer, assignee, status etc.

 

 

1 answer

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2018

Hi @Enkhtaivan Ganbat,

Read up on CORS and how to add a response header for

Access-Control-Allow-Origin: *
Enkhtaivan Ganbat
Contributor
June 11, 2018

Hi @Edwin Kyalangalilwa

Does JIRA Cloud REST API even support CORS? I found the following issue on atlassian:

https://jira.atlassian.com/browse/JRACLOUD-65573

Suggest an answer

Log in or Sign up to answer