Forums

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

XSRF check failed while performing POST on JIRA cloud API through JQuery

Rahul Ganjoo July 27, 2018

Hi, I am trying to POST data to JIRA API to create a work log against an issue. I trying to build a plugin which is basically an HTML page with JQuery ajax POST operation.

The browser is set to allow CORS so Cross origin requests should not be a problem. 

I tried to use 'X-Atlassian-Token: nocheck' header as well but it did not help. According to the JIRA documentation, 'X-Atlassian-Token: nocheck' is helpful when used on command line using CURL but is not effective for browsers.

Kindly suggest a way through which I can make an ajax POST request to the API successfully.

Regards,

Rahul G.

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
January 4, 2021

Hi! 

did you figure out ? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events