Forums

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

Jira Cloud to Sharepoint through AJAX Rest request

Deleted user July 17, 2018

I'm trying to pull issues from Jira Cloud to my Sharepoint web page.

$.ajax
                        ({
                            url: "https://example.atlassian.net/rest/api/2/search",
                            method: "GET",
                            contentType: "application/json; charset=utf-8",
                            dataType: "json",
                            success: function (msg) {
                                alert("Successful");
                            },
                            error: function (requestData, error, errorMsg) {
                                alert(requestData.status);
                            }
                        });

But i'm getting blocked by Same Origin Policy. How do i work around this?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events