Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-956

Reporter display name used as from name in email notifications

XMLWordPrintable

      NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.

      Reporter display name used as From Name in email notifications

            new ServiceDeskEmail(
              recipient = reporter,
              fromName = reporter.getDisplayName,
      

      The above appears multiple times in servicedesk/plugin/src/main/scala/com/atlassian/servicedesk/internal/notifications/render/ServiceDeskIssueNotificationRenderer.scala

      When the email is rendered and sent:

      2014-10-09 19:39:55,344 Sending mailitem To='sxsw@XXX' Subject='[TWO] test [TWO-9]' From='null' FromName='sxsw' Cc='null' Bcc='null' ReplyTo='jt-two@XXX' InReplyTo='<JIRA.10500.XXX@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG tim 1179x2070x1 1z5ido 192.168.56.1 /secure/admin/MailQueueAdmin.jspa [com.atlassian.mail.outgoing] DATA
      2014-10-09 19:39:55,389 Sending mailitem To='sxsw@XXX' Subject='[TWO] test [TWO-9]' From='null' FromName='sxsw' Cc='null' Bcc='null' ReplyTo='jt-two@XXX' InReplyTo='<JIRA.10500.XXX@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG tim 1179x2070x1 1z5ido 192.168.56.1 /secure/admin/MailQueueAdmin.jspa [com.atlassian.mail.outgoing] 354 End data with <CR><LF>.<CR><LF>
      2014-10-09 19:39:55,455 Sending mailitem To='sxsw@XXX' Subject='[TWO] test [TWO-9]' From='null' FromName='sxsw' Cc='null' Bcc='null' ReplyTo='jt-two@XXX' InReplyTo='<JIRA.10500.XXX@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG tim 1179x2070x1 1z5ido 192.168.56.1 /secure/admin/MailQueueAdmin.jspa [com.atlassian.mail.outgoing] Date: Thu, 9 Oct 2014 19:39:54 -0500 (CDT)
      From: sxsw <jiratest@XXX>
      Reply-To: jt-two@XXX
      To: sxsw@XXX
      Message-ID: <JIRA.10500.XXX.15.XXX@Atlassian.JIRA>
      In-Reply-To: <JIRA.10500.XXX@Atlassian.JIRA>
      References: <JIRA.10500.XXX@Atlassian.JIRA> <JIRA.10500.XXX@READ>
      
      • Reporter = sxsw
      • Outgoing SMTP Mail server address = jiratest
      • Service desk's inbound email address = jt-two

      Notice the "From:" inside the mailitem content. The name attached to "From" should be the name of the service desk or the name of the agent leaving the comment.

      This causes some mail clients, including Outlook, to show the messages as being from the reporter instead of from JIRA Service Desk.

            Unassigned Unassigned
            tevans Tim Evans (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: