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

This widget could not be displayed.


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

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

129 views 1 3
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