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

Make configurable behaviour of "Reply-To" email header in JSM customer notifications

    • 59
    • 21
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Summary

      As for the current versions (e.g. 4.22.2), when you have one or more “Email channels” configured for your Jira Service Management (JSM) project, the generated email notifications will have a “Reply-To” email header with the email address value of Email Channel.

      Return-Path: <jira_smpt_outgoing@email.local>
      Received: from 172.50.0.7 (HELO 9d60ecdfb411); Tue Jun 21 10:38:00 UTC 2022
      Date: Tue, 21 Jun 2022 10:38:00 +0000 (UTC)
      From: "admin (Jira)" <jira_smpt_outgoing@email.local>
      Reply-To: email_request_channel_0@email.local
      To: admin@email.local
      Message-ID: <JIRA.10100.1655807629000.3.1655807880000@Atlassian.JIRA>
      In-Reply-To: <JIRA.10100.1655807629000@Atlassian.JIRA>
      References: <JIRA.10100.1655807629000@Atlassian.JIRA> <JIRA.10100.1655807629162@9d60ecdfb411>
      Subject: ITSD-42 Testing email channels
      

      When you reply to such notification in your email client, instead of putting the email address from “From” it will use the address that was configured for "Reply-To" (i.e. JSM “Email Channel” address). This is expected as per rfc822.

      However, if you will have more than one JSM “Email Channel” configured, it is not guaranteed that generated notifications will have the exact channel's email address in "Reply-To" (based on the issue's "Request Type" or some other condition) — just first found the address from first email channel will be used.
      Also, if you update the JSM ticket with “Request Type” NOT associated with any JSM "Email Channel", it will still receive one of the channels' email addresses in the “Reply-to” header.

      This behaviour is not impacting notification processing functionality — no matter what “Email Channel” will receive replied email it will be still processed accordingly.

      Potential issues

      Despite being 'harmful' from a functionality perspective, this behaviour makes customers lose control over user responses since it is a little bit ‘unpredictable’ which address users will send the email to when they reply to the notification. For example, if the customer has both JSM “Email Channel” and Jira Incoming mail handler configured, the notification sent for the JSM issue will receive the channel’s “Reply-To” address and, hence, upon response email will not reach the expected (from a logical point of view) Incoming handling mailbox.

      Suggestion

      1. Make it possible to configure the behaviour of the "Reply-To" header for JSM email notifications (enable/disable/substitute with desired value).
        • Alternatively, it would make sense to override the "Reply-To" value with settings defined for the address configured in the notification scheme.
      2. Implement more strict and predictable logic for assigning email addresses to the "Reply-To" header in case of multi-channel project configuration.

            [JSDSERVER-11853] Make configurable behaviour of "Reply-To" email header in JSM customer notifications

            In addition to what other people mentioned, this might also cause data leaks since some replies will be received from mailboxes that are not relevant to people who have access to them.

            I would personally consider this as a bug, rather than a suggestion.

            Negin Nafari added a comment - In addition to what other people mentioned, this might also cause data leaks since some replies will be received from mailboxes that are not relevant to people who have access to them. I would personally consider this as a bug, rather than a suggestion.

            Barış Türkkal added a comment - https://getsupport.atlassian.com/browse/PSSRV-111507

            This impacts our user base as well, users who file tickets in the portal discover email addresses for other request types, and in the future they just email that address, which causes their ticket to end up with the wrong team as a result and then they have to file a new ticket in the portal, only to have that email address be set as the reply to. 

            Dalton Rick added a comment - This impacts our user base as well, users who file tickets in the portal discover email addresses for other request types, and in the future they just email that address, which causes their ticket to end up with the wrong team as a result and then they have to file a new ticket in the portal, only to have that email address be set as the reply to. 

            +1 it's very needful.
            our colleagues a little bit confused

            Gonchik Tsymzhitov added a comment - +1 it's very needful. our colleagues a little bit confused

            This still seems to be an issue, I currently am not in the position to implement the modern Email Request functionality into my JSM because of this, as customer notifications via requests raised directly in the portal itself now have incorrect reply to addresses on my test instance.

            Steve Letch added a comment - This still seems to be an issue, I currently am not in the position to implement the modern Email Request functionality into my JSM because of this, as customer notifications via requests raised directly in the portal itself now have incorrect reply to addresses on my test instance.

            +1 for this, very inconvenient and blocking us from going ahead with migrating away from old mail handlers twinned with the Email this issue add on, to using native JSM Email Requests instead.

            Steve Letch added a comment - +1 for this, very inconvenient and blocking us from going ahead with migrating away from old mail handlers twinned with the Email this issue add on, to using native JSM Email Requests instead.

              Unassigned Unassigned
              e7e12f16f891 Alexander Artemenko
              Votes:
              21 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated: