Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-2373

Identify the correct Issue for incoming E-mails from unknown users

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

      Update 7th December 2021

      Hi everyone,

      We have added an enhancement to show agents in the user view that the comment is from a person who does not have access to the issue. Please see this documentation for more information on how to turn the feature on.

      Cheers,
      Jason and the Jira Service Management Team

       

      Summary

      When a customer of a JIRA Service Desk sends an E-mail from Service Desk to another person (who is not an agent, reporter or request participant) of the issue, if that additional party replies to the issue and includes the JIRA Service Desk E-mail, the E-mail is treated as a new issue, even though:

      • Subject Line contains the Issue Key,
      • Email Headers are still intact.

      For Example:

      1. Customer 1 raises a Service Desk request.
      2. Agent 1 responds to the Service Desk Request.
      3. Customer 1 receives a response and CC's the response to another Customer (Customer 2).
      4. Customer 2 responds to the service desk request, CCing in the same people.

      Creating new E-mails under this scenario causes additional overhead for the Service Desk Administrator, and may be confusing to the customer interacting with the Agent, due to the fragmented nature of the E-mail interactions

      This was introduced as a result of the changes in: JSD-1876 which fixed an issue when a user who was not a Service Desk customer responded to a Service Desk Email.

      Steps to Reproduce

      1. Set up a new Service Desk
      2. Create an Issue and Send a Comment to a customer as an Agent
      3. As a customer forward the issue to a colleague to get help responding to the Agents queries
      4. Respond to the agent, and customer as the external party.
      5. The response will not be linked to the existing issue unless you are already a request participant of the issue.

      Expected Results

      JIRA Service Desk should be able to detect the E-mail trail relates to a specific issue, and give the customer an option to enable Automatic request participants based on Email interactions.

      Actual Results

      JIRA Service Desk fails to recognise that the Emails in the aforementioned scenario relate to a pre-exiting issue, even thought the Email contains the correct headers, subject line, and the other users in To/CC fields are the customer and the Service Desk Email address.

      Notes

      The current functionality for inbound E-mail appears to be:

      1. Check who the sender of the Email is
      2. Add sender as a new customer if they are not (depending on SD configuration)
      3. Decide what to do with E-mail content based on the sender's authorisation.

      Workaround

      Please use either Service Desk Automation or the JIRA Automation Plugin to do this.

      Using JIRA Service Desk

      1. Go To your Settings under the affected JIRA Service Desk
      2. Select *Automation
      3. Create a new Rule and select "Custom Rule" with the following:
        1. WHEN: Issue Created
        2. IF: Issue Matches and Create an Advanced JQL filter
        3. THEN: Add a Comment that indicates that the user is not authorised to comment on the request
        4. THEN Issue Transition that Resolves the issue.

      Using the Automation Add-on

      1. Create a new Rule
      2. Set the Issue Event to be Issue Created
      3. Set the JQL Expression to something S
      4. Add Actions as to how you would like to handle this circumstance.

      Note on JQL matching.
      The Affected issues are expected to contain:

      • Your E-mail Prefix in the Subject line of the Email
      • An Issue Key in the Subject line of the Email
      • Either a "Re:" or "Fwd:" in the Subject line of the Email.
      • The content should contain "This message is automatically generated by JIRA Service Desk."

      Therefore we can create a JQL query to match on these issues:

      text ~ '"This message is automatically generated by JIRA Service Desk."~0' 
      AND 
      (summary ~ "Re \\[CDX\\] \\[SD" OR summary ~"Fwd \\[CDX\\] \\[SD") 
      

      You could add different options to this JQL Query as you see the need to do so, such as project filters. See: Performing Text Searches for more hints on this.

            [JSDCLOUD-2373] Identify the correct Issue for incoming E-mails from unknown users

            Great efforts share, thanks for sharing such type of information. If you still think the message was meant for someone else, contact the sender to let them know they mistyped the email address. https://www.marketing-lists-direct.com/create-a-business-mailing-list/

            John Michel added a comment - Great efforts share, thanks for sharing such type of information. If you still think the message was meant for someone else, contact the sender to let them know they mistyped the email address. https://www.marketing-lists-direct.com/create-a-business-mailing-list/

            Thanks G - this is a superb life saver! I did not see that setting before! It is exactly what I needed. Thank you again! 

            Yatish Madhav added a comment - Thanks G - this is a superb life saver! I did not see that setting before! It is exactly what I needed. Thank you again! 

            Greg D added a comment -

            Hi 249cc3084ccd, you just need to toggle the setting at the instance level to allow any comments to an issue key route to that issue key (detailed in this documentation. When they are not listed as a participant, their responses do not email out to others that are participants and you need to identify those replies differently in automation to make sure that the issue reopens (they are not "customers"). It is one of the best features that was long-awaited.

            Greg D added a comment - Hi 249cc3084ccd , you just need to toggle the setting at the instance level to allow any comments to an issue key route to that issue key (detailed in this documentation . When they are not listed as a participant, their responses do not email out to others that are participants and you need to identify those replies differently in automation to make sure that the issue reopens (they are not "customers"). It is one of the best features that was long-awaited.

            Hi all - any idea of another ticket post this one? I also want to avoid duplicate tickets and additional rules as a workaround. We have an advanced rule for an issue that is created that detacts an email address in the description and sends a mail to it ... now, the problem is that if anyone from the group replies, it creates a new ticket ... the subject line and body contains the ticket key. Please advise? Thank you

            Yatish Madhav added a comment - Hi all - any idea of another ticket post this one? I also want to avoid duplicate tickets and additional rules as a workaround. We have an advanced rule for an issue that is created that detacts an email address in the description and sends a mail to it ... now, the problem is that if anyone from the group replies, it creates a new ticket ... the subject line and body contains the ticket key. Please advise? Thank you

            This article offers assistance for those users that are unable to receive email. If you receive a user unknown bounce, and you have checked to make sure the address is correct, the next thing you should do is try to contact the[ person you |https://www.marketing-lists-direct.com/].

            John Michel added a comment - This article offers assistance for those users that are unable to receive email. If you receive a user unknown bounce, and you have checked to make sure the address is correct, the next thing you should do is try to contact the[ person you |https://www.marketing-lists-direct.com/].

            1f5398a40e51 They will not be added automatically. This has the potential to grant bad actors unauthorised access to the issue and comments via notifications. We provide information to the agent on the issue and the agent can choose to add the user as a request participant if they want to.

            Jason D'Cruz added a comment - 1f5398a40e51 They will not be added automatically. This has the potential to grant bad actors unauthorised access to the issue and comments via notifications. We provide information to the agent on the issue and the agent can choose to add the user as a request participant if they want to.

            Marek added a comment -

            If I enable this new feature, will those users be added to request participants field as well?

            Marek added a comment - If I enable this new feature, will those users be added to request participants field as well?

            We've now added the enhancement that shows if a comment is from an email address that does not have access to the issue. Closing the ticket.

            Please write here if you experience any issues.

            Jason D'Cruz added a comment - We've now added the enhancement that shows if a comment is from an email address that does not have access to the issue. Closing the ticket. Please write here if you experience any issues.

            Hi 997eb367b791

            The feature is now rolled out to all customers. We are working on an enhancement to show agents in the user view that the comment is from a person who does not have access to the issue. Please see this documentation for more information.

            Jason D'Cruz added a comment - Hi 997eb367b791 The feature is now rolled out to all customers. We are working on an enhancement to show agents in the user view that the comment is from a person who does not have access to the issue. Please see this  documentation  for more information.

            Any update on how the roll-out is going?   We just cut-over to Jira from another product, and this is giving Jira a bit of a blackeye right now.   Not sure if we should try to get this enabled for an early-access rollout, or if it is close to general audience at this point.

            Matthew Nelson added a comment - Any update on how the roll-out is going?   We just cut-over to Jira from another product, and this is giving Jira a bit of a blackeye right now.   Not sure if we should try to get this enabled for an early-access rollout, or if it is close to general audience at this point.

              jdcruz Jason D'Cruz
              majones Matt Jones (Inactive)
              Affected customers:
              156 This affects my team
              Watchers:
              172 Start watching this issue

                Created:
                Updated:
                Resolved: