Reporter (username) does not have permission to create attachments in project

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When JIRA is creating issues from email, emails with attachments are created correctly, but the attachments are not added to the issue itself, and the following error message is placed as a comment on the ticket itself:

Reporter (aaa@mail.com) does not have permission to create attachments in project XXXX. 
Following attachments found in the email have been discarded:
aaa.xlsx
bbb.jpg

 

Additionally, checking the debug incoming mail logs, we can observe the following output:

...Attachment was added to issue
...Reporter (aaa@mail.com) does not have permission to create attachments in project XXXX. Following attachments found in the email have been discarded:aaa.xlsx
...[10110]: Added comment 'Reporter (aaa@mail.com... 'by 'aaa@mail.com' to issue 'ISSUE-KEY'
...Deleting Message: <BAY145-W8265D25B144E7AAF00685EDE90@xxx.xxx>

The user has been granted ALL Project-level permissions for the relevant project, excluding Administer Projects. 

Cause

The project has a Default Issue Level Security set for all newly created issues. In this Issue Security Level, the reporter (the user account who sent the email) is denied access to the issue itself. This issue security level prevents the attachments from being created hence the error "Does not have permissions to create attachments", but does not prevent the issue from being created. (IssueLevelSecurity.jpg)

BUG REPORT:  JRA-32386 - Getting issue details... STATUS

Note that this error is fixed in JIRA Version 5.2.5 or later

Resolution

There are two ways to resolve this problem:

  • Upgrade to JIRA 5.2.5 or later.
  • Edit the Issue Level Security to include the reporter, or remove the default Issue Level Security for all newly created issues. (IssueLevelSecurity.jpg)
Last modified on Apr 7, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.