Mail Handler with Default Reporter does not create attachment if the sender is an unlicensed user

XMLWordPrintable

    • 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

      1. Create a project
      2. 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...)
      3. Create a new a user on Jira without a license
      4. 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)
        1. Removing from the Create Attachments permission the recipient Application Access -> Any logged in user
        2. Granting the Create Attachments permission to the recipient Application Access -> Jira Software
      5. Send a new email for the Incoming Mail account with an attachment on it, with the sender being the unlicensed user
      6. 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.

        1. image-2024-03-04-13-05-04-481.png
          89 kB
          Mikaela Teixeira
        2. image-2024-03-04-13-06-07-451.png
          89 kB
          Mikaela Teixeira

            Assignee:
            Unassigned
            Reporter:
            Mikaela Teixeira
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: