ccassignee for createorcomment handler is not followed

XMLWordPrintable

    • 3.12

      These are the settings:

      Assignable user permission = support@xxx.xxx & tchin@xxx.xxx (Timothy Chin)
      CreateOrComment handler setting = project=TST, issuetype=7, createusers=true
      Note: if ccassignee is not specified, ccassignee = true

      These are the email headers:

      To: support@xxx.xxx
      Subject: Tue Jun 24 11:38:37 EDT 2008
      Cc: tchin@xxx.xxx (Timothy Chin)
      Message-Id: <20080624153837.F3F947DE6A4@gm957-8e4.xxx.xxx>
      Date: Tue, 24 Jun 2008 11:38:37 -0400 (EDT)
      From: tchin@xxx.xxx (Timothy Chin)
      
      Result: Assignee = support@xxx.xxx
      
      To: tchin@xxx.xxx
      Subject: Tue Jun 24 11:38:37 EDT 2008
      Cc: tchin@xxx.xxx
      Message-Id: <20080624153837.F3F947DE6A4@gm957-8e4.broad.mit.edu>
      Date: Tue, 24 Jun 2008 11:38:37 -0400 (EDT)
      From: tchin@xxx.xxx
      
      The assignee = tchin@xxx.xxx
      

      It seems that the person registered in the CC field is not recognised at all.

      CreateIssueHandler
      if (ccAssignee)
      {
          assignee = getFirstValidAssignee(message.getAllRecipients(), project);
      }
      

      I believe that the 1st email returned will be from the TO field

            Assignee:
            Dushan Hanuska [Atlassian]
            Reporter:
            Timothy Chin [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h