Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20939

Incoming Email handler does not check user is inactive when mapping incoming email

      Issue Summary

      Many users have the same email address. The first user is inactive and does not have application access. Incoming email handler (Jira software) does not check the user is inactive and triggers the error below when trying to create a ticket from this email.

      "Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application."

      Steps to Reproduce

      1. Step 1
        Create users as shown below. See the first one is inactive and does not have application access.
      2. Step 2
        Send an email from user's email address to Incoming mail handler mailbox.

      Expected Results

      User is inactive so mail handler should not check if user has application access or not. A ticket should be created.

      Actual Results

      Incoming mail handler check the inactive user that has no application access

      Workaround

      Remove email address from the inactive user so incoming mail handler does not map and check that user account.

      Not on resolution

      The problem is not a Jira bug, see related KBs covering the problem:

          Form Name

            [JSWSERVER-20939] Incoming Email handler does not check user is inactive when mapping incoming email

            Andriy Yakovlev [Atlassian] made changes -
            Description Original: h3. Issue Summary

            Many users have the same email address. The first user is inactive and does not have application access. Incoming email handler (Jira software) does not check the user is inactive and triggers the error below when trying to create a ticket from this email.

            "Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application."
            h3. Steps to Reproduce
             # Step 1
             Create users as shown below. See the first one is inactive and does not have application access.
             !image-2021-05-03-21-41-02-368.png|thumbnail!
             # Step 2
             Send an email from user's email address to Incoming mail handler mailbox.

            h3. Expected Results

            User is inactive so mail handler should not check if user has application access or not. A ticket should be created.
            h3. Actual Results

            Incoming mail handler check the inactive user that has no application access
             !image-2021-05-03-21-38-07-229.png|thumbnail!
            h3. Workaround

            Remove email address from the inactive user so incoming mail handler does not map and check that user account.
            New: h3. Issue Summary

            Many users have the same email address. The first user is inactive and does not have application access. Incoming email handler (Jira software) does not check the user is inactive and triggers the error below when trying to create a ticket from this email.

            "Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application."
            h3. Steps to Reproduce
             # Step 1
             Create users as shown below. See the first one is inactive and does not have application access.
             !image-2021-05-03-21-41-02-368.png|thumbnail!
             # Step 2
             Send an email from user's email address to Incoming mail handler mailbox.

            h3. Expected Results

            User is inactive so mail handler should not check if user has application access or not. A ticket should be created.
            h3. Actual Results

            Incoming mail handler check the inactive user that has no application access
             !image-2021-05-03-21-38-07-229.png|thumbnail!

            h3. Workaround
            Remove email address from the inactive user so incoming mail handler does not map and check that user account.

            h3. Not on resolution
            The problem is not a Jira bug, see related KBs covering the problem:
            * https://confluence.atlassian.com/display/JIRAKB/Mail+handler+fails+to+create+issue+from+certain+email+addresses+in+Jira+server
            * https://confluence.atlassian.com/jirakb/jira-incoming-mail-handler-processes-the-email-using-an-incorrect-user-968684632.html
            Andriy Yakovlev [Atlassian] made changes -
            Resolution New: Not a bug [ 12 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]
            Andriy Yakovlev [Atlassian] made changes -
            Link New: This issue is related to JRASERVER-9182 [ JRASERVER-9182 ]
            Andriy Yakovlev [Atlassian] made changes -
            Link New: This issue is related to JRASERVER-33116 [ JRASERVER-33116 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Bugfix Automation Bot made changes -
            Introduced in Version New: 8.13
            fliang (Inactive) made changes -
            Description Original: h3. Issue Summary

            Many users have the same email address. The first user is inactive and does not have application access. Incoming email handler (Jira software) does not check the user is inactive and triggers the error below when trying to create a ticket from this email.

            "Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application."
            h3. Steps to Reproduce
             # Step 1
             Create users as shown below. See the first one is inactive and does not have application access.
             !image-2021-05-03-21-41-02-368.png!
             # Step 2
             Send an email from user's email address to Incoming mail handler mailbox.

            h3. Expected Results

            User is inactive so mail handler should not check if user has application access or not. A ticket should be created.
            h3. Actual Results

            Incoming mail handler check the inactive user that has no application access
             !image-2021-05-03-21-38-07-229.png!
            h3. Workaround

            Remove email address from the inactive user so incoming mail handler does not map and check that user account.
            New: h3. Issue Summary

            Many users have the same email address. The first user is inactive and does not have application access. Incoming email handler (Jira software) does not check the user is inactive and triggers the error below when trying to create a ticket from this email.

            "Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application."
            h3. Steps to Reproduce
             # Step 1
             Create users as shown below. See the first one is inactive and does not have application access.
             !image-2021-05-03-21-41-02-368.png|thumbnail!
             # Step 2
             Send an email from user's email address to Incoming mail handler mailbox.

            h3. Expected Results

            User is inactive so mail handler should not check if user has application access or not. A ticket should be created.
            h3. Actual Results

            Incoming mail handler check the inactive user that has no application access
             !image-2021-05-03-21-38-07-229.png|thumbnail!
            h3. Workaround

            Remove email address from the inactive user so incoming mail handler does not map and check that user account.
            fliang (Inactive) made changes -
            Component/s New: Issue - Comments [ 56697 ]
            Component/s Original: JSW DoS [ 61317 ]
            fliang (Inactive) created issue -

              Unassigned Unassigned
              017e4b546b3c fliang (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: