Mail handlers should only take into consideration the CC'ed user as Assignee

XMLWordPrintable

    • 8
    • Severity 3 - Minor

      Issue Summary

      Whenever we use a mail handler with the CC Assignee property box to be True, it should turn the first CC'ed user/email the assignee for the Jira Issue created, and this cannot be customized. However, it also takes into consideration the email set on To.

      The Assignee field will be set with first valid assignee/contact. When the CC Assignee option is checked in mail handler, the precedence to set Assignee is as follows:

      1. To address
      2. CC'ed address
      3. BCC'ed address

      This can conflict with how users send emails to the handler, as usually the first email added is the mail server they send the tickets to:

      Steps to Reproduce

      1. Consider a company that has their mail server as "mailserver@test.com", a user sends an email and wants to make assignee@test.com as the assignee.

      The addresses' order looks like this:

      From: <reporter@test.com>
      To: <mailserver@test.com>
      CC: <assignee@test.com>

      If "mailserver@test.com" is a valid user, it will be set as the assignee, without taking into consideration the CC'ed user.

      Expected Results

      CC'ed user should be set as the issue's assignee

      Actual Results

      The email set as "To" may be set as the issue's assignee if it is a valid user.

      Workaround

      Change the order of email addresses, making sure the user you need to be the assignee is the first contact on that list.

              Assignee:
              Unassigned
              Reporter:
              Anindyo Sen
              Votes:
              3 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: