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.