I am trying to upload attachment to an issue using REST API.
Here's the error message I have received while doing the upload.
500 Internal Server Error: Got error while saving attachment CRQ-164330.txt: Got exception while saving attachment in attachment store. Exception: Unable to create target directory /var/atlassian/application-data/jira/data/attachments/CRQ/170000/CRQ-164330
Not sure why this is caused? Any help would be appreciated.
Is it possible that the process running Jira has not the permissions to create files/directories at /var/atlassian/application-data/jira/data/attachments ?
Are there any attachments in the folder CRQ/ ?
Can you attach files with the browser to the same issue?
It's what Sebastian says then - check permissions and ownership of the files and directories in the home and installation directories for your Jira (usually if one of them is wrong, a lot of them are)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.