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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,363 views 14 19
Read article

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