Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15160

ccassignee for createorcomment handler is not followed

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dushan@atlassian.com Dushan Hanuska [Atlassian]
              tchin Timothy Chin [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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