-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Medium
-
None
-
Affects Version/s: 9.4.7
-
Component/s: Issue - Comments
-
None
-
9.04
-
2
-
Severity 3 - Minor
-
4
Issue Summary
This is reproducible on Data Center: yes
Steps to Reproduce
- Create a project
- Create a Jira Mail Handler as follows:
- Type: Create issues or add comments to existing issue
- Associate it to the project created earlier
- Set a Default Reporter with a user which has a license, and also all the necessary permission in a Jira project (to create issues, add comments, create attachments, etc...)
- Create a new a user on Jira without a license
- Edit the permission scheme associated to the project by following the steps below (the purpose of these steps is to only allow users with a license to create attachments)
- Removing from the Create Attachments permission the recipient Application Access -> Any logged in user
- Granting the Create Attachments permission to the recipient Application Access -> Jira Software
- Send a new email for the Incoming Mail account with an attachment on it, with the sender being the unlicensed user
- The issue (or comment) is created but the attachment is not included, instead we see the error below on the issue:
Reporter (username) does not have permission to create attachments in project (project name). Following attachments found in the email have been discarded:

Notes
Note 1: The username mentioned in the error is the username of the sender of the email, and not the username of the Default Reporter.
Note 2: We do not see this error if the sender does not exist on Jira.
Expected Results
As the Mail Handler has a Default Reporter set who is granted the Create Attachments permission, the attachment should be included in the Jira issue.
Actual Results
The attachment is not included on the ticket and we see this error:

Workaround
The available workaround it to grant the unlicensed user (who is the sender of the email) the Create Attachment Permission on the Project.
- is related to
-
JRASERVER-78350 Mail handler with default reporter creates an issue from a mail with attachment when the sender is a user without a license is present in Jira but does not attach the attachment for the same user
-
- Gathering Impact
-