Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-46212

Toggle between fallback to Default Reporter or preventing issue creation for emails from users with no create issue permission

    XMLWordPrintable

Details

    • 0
    • 29
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Problem Definition

      When the mail handler picks up an email whose sender is from a JIRA user account, that does not have Create Issue permissions in said project, it will throw an error and no issue is created:

      WARN [Test] atlassian-scheduler-quartz1.clustered_Worker-2 ServiceRunner    Test Test[10000]: Reporter (test) does not have permission to create an issue. Message rejected.
      

      This error obviously makes sense because the user does not have permissions to create issues. But we should allow the option to fall back to using the Default Reporter configured in the mail handler, so theres still an option of creating issues here.
      Technically, the user doesn't have permission to create issues directly in JIRA, but at least have the option of doing it through mail.

      Suggested Solution

      A Toggle functionality in the mail handler to choose between:

      1. Ignore default reporter and prevent issue creation if email is from a user with no Create Issue permission.
      2. Allow issue to use default reporter and be created in JIRA.

      Workaround

      "Trick" jira into thinking these users are anonymous users, (so it will fall back to Default Reporter), e.g. by changing their email addresses in JIRA to a different email. This of course has implications e.g. no notifications can then reach these users.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dleng Daniel Leng (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: