JIRA REST API Add Attachment JIRA 7 OnDemand

Our OnDemand instance was automatically updated to JIRA version 7 recently, and after this happened our REST API calls that add attachments to issues stopped working.  All I get back is a 500 Internal Server Error with no additional information.

The "latest" API documentation posted still seems to be for JIRA 6.4, so I'm unable to tell if anything with this call has changed.  Here is the call I am using: https://docs.atlassian.com/jira/REST/latest/#d2e3247

Any information regarding how this has changed and what I need to do to get it working again would be greatly appreciated.

2 answers

https://docs.atlassian.com/jira/REST/7.0-SNAPSHOT/

I haven't noticed any problem in this area when implementing this for the JIRA Command Line Interface (CLI).

If the API had changed and what you were passing in was not right anymore then it should return a 400 Bad Request or similar.

The fact that it is returning 500 means there is a problem on the server, most likely a bug, and you need to see the logs to trace what actually went wrong.

Given that you have a hosted instance, you will want to raise a support ticket so that they can look at your logs for you and investigate.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,042 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot