Unable to create objects in JIRA Cloud

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 vote
Steven Behnke Community Champion Dec 16, 2015

You don't receive any HTTP errors?

0 vote

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)

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

Kindly refer the screenshots attached. 1.png2.png

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

147 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you