Attachments Do Not Render in Some JIRA Issues
When a user navigates to certain JIRA projects, the error below is displayed when trying to view attachments:
A similar error to the following appears in the JIRA logs after replicating the error:
[java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: You're not allowed to view that page, or it does not exist.] 2015-06-02 16:31:21,965 TP-Processor14 WARN sysadmin 991x2485x1 1tdtyha 18.104.22.168,22.214.171.124 /secure/AjaxIssueAction!default.jspa [jira.issue.attachment.FileSystemAttachmentDirectoryAccessor] Unable to make thumbnail directory
Even though the attachments for that issue exist in the file system, the application does not have access to retrieve the information or create a thumbnail preview to de displayed in the issue.
The owner/group of the attachment needs to be updated so that the application can retrieve the attachment.
Support can do this recursively for the attachments in JIRA Cloud by running the following:
chown -R js-jira:js-apps /data/jirastudio/jira/home/data/attachments/