Forums

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

Unable to create objects in JIRA Cloud

maithili pawar December 16, 2015

HI,

We are developing the plug-in connector for Atlassian JIRA and one of our client tools.

 

We were trying out creating objects like issue/ issue comment on JIRA Cloud. We observed that the API is not working on REST client.

 

Can any one please let us know is there any issue with the API for 'create' operation. Rest other operations are working fine.

 

Thanks,

Pallavi

2 answers

0 votes
Nic Brough -Adaptavist-
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.
December 16, 2015

It's working fine for the integrations I've got some overview of, so I'd suspect your code and external process.

What error messages are you getting, and have you tried a really basic call?  (e.g. with curl on a command line)

maithili pawar December 17, 2015

We are getting '403 forbidden' - XSRF check failed.

Kindly refer the screenshots attached. 1.png2.png

Nic Brough -Adaptavist-
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.
December 18, 2015

So you're sending an invalid xsrf request. You either need to use the right domains, or easier, tell it not to check - put -nocheck in the header.

0 votes
Steven F Behnke
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.
December 16, 2015

You don't receive any HTTP errors?

Suggest an answer

Log in or Sign up to answer