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

When Replying/Forwarding Jira Service Desk Notification to a different Service Desk, Mail Processor will create a comment in the original ticket

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 4.18.1
    • 3.2.6, 4.1.0, 4.2.4, 4.17.0
    • Email - Incoming

      Issue Summary

      When Replying a Service Desk notification To a Different Service Desk Mailbox, the Mail processor will create a comment in the original ticket

      Environment

      Tested on Jira 8.2.4 and Service Desk 4.2.3, this is impacting regular Jira mail handler as well

      Steps to Reproduce

      1. Create 2 different Service Desk projects
      2. Create two completely separate mailboxes
      3. In each Service Desk project, configure the email channel using the specific Mailboxes created
      4. Now, we got:-
        • Project 1 and Project 2
        • Mailbox 1 and Mailbox 2
        • Mail Channel 1 which connected with project 1 in mailbox 1 creating IT Help requests
        • Mail Channel 2 which connected with project 2 in mailbox 2 creating Requests
      5. Open a ticket in project 1, create a comment or any action trigger notification
        You need to have an outgoing mail configured, else no notification will be sent out
      6. Wait for notification received in your mailbox
      7. Reply to the notification, update receiver email as mailbox 1 email address
      8. Forward the notification to the mailbox 2 email address, in order to create a new request in Project 2.

      Expected Results

      1. Jira will create a new request in Project 2, with the Forwarded mail body.

      Actual Results

      Jira added a comment in the existing ticket from project 1 regardless of which mailbox is receiving the email reply.

      Workaround

      -

      Additional Notes:

      This can lead to a potential security breach in a company business that manages multiple Service Desks in the same Jira instance to different departments.

            [JSDSERVER-6511] When Replying/Forwarding Jira Service Desk Notification to a different Service Desk, Mail Processor will create a comment in the original ticket

            Marcus Matos added a comment - - edited

            Please make this a configurable option - JSDSERVER-5214

            Marcus Matos added a comment - - edited Please make this a configurable option - JSDSERVER-5214

            David W. added a comment - - edited

            @Charlie Marriott,

            I understand that there are customers who need the bug behaviour for their processes to work. However, I hope you understand that there are also customers who need the bug to be fixed because it is a problem for them.

            How about adding an option to JSM that lets the customer decide which behaviour they want to use?

            Kind regards,
            David

            David W. added a comment - - edited @Charlie Marriott, I understand that there are customers who need the bug behaviour for their processes to work. However, I hope you understand that there are also customers who need the bug to be fixed because it is a problem for them. How about adding an option to JSM that lets the customer decide which behaviour they want to use? Kind regards, David

            Charlie Marriott added a comment - - edited
            Atlassian Update – 19 January 2022

            Hi Everyone,

            Thank you for your interest in this issue.

            We previously changed this behaviour in JSM 4.18.1 to resolve this bug (July 2021). In doing so, we inadvertently broke some customer workflows where a single mailbox was used for processing all incoming mail notifications, as well as all outgoing email notifications. We subsequently reverted back to the previous behaviour in 4.19.0.

            We will continue to monitor this bug to determine further interest and demand for a change in behaviour.

            Kind regards,

            Charlie Marriott

            Jira Service Management, Data Center & Server

            Charlie Marriott added a comment - - edited Atlassian Update – 19 January 2022 Hi Everyone, Thank you for your interest in this issue. We previously changed this behaviour in JSM 4.18.1 to resolve this bug (July 2021). In doing so, we inadvertently broke some customer workflows where a single mailbox was used for processing all incoming mail notifications, as well as all outgoing email notifications. We subsequently reverted back to the previous behaviour in 4.19.0. We will continue to monitor this bug to determine further interest and demand for a change in behaviour. Kind regards, Charlie Marriott Jira Service Management, Data Center & Server

            Another example but within the same JSD project:

            1. A mail thread goes around in a company
            2. User A forwards this email to the JSD email address
              -> A ticket is created in the project
              An agent works on it and in the end the ticket is closed/resolved
            3. In the meantime the mail thread keeps growing in the company. (the JSD email address is not in the recipients list)
            4. User B forwards the email to the JSD email address
              -> A comment is added to the ticket in step 2.
              User B is not a participant on that ticket so he'll never see his comment or even know this has been created

             

            While this will not happen often I discovered it today and it is quite annoying.

            A new ticket should be created becasue the user is not a participant on the original ticket.

            Charlie Misonne added a comment - Another example but within the same JSD project: A mail thread goes around in a company User A forwards this email to the JSD email address -> A ticket is created in the project An agent works on it and in the end the ticket is closed/resolved In the meantime the mail thread keeps growing in the company. (the JSD email address is not in the recipients list) User B forwards the email to the JSD email address -> A comment is added to the ticket in step 2. User B is not a participant on that ticket so he'll never see his comment or even know this has been created   While this will not happen often I discovered it today and it is quite annoying. A new ticket should be created becasue the user is not a participant on the original ticket.

              Unassigned Unassigned
              psouza Pedro Souza
              Affected customers:
              24 This affects my team
              Watchers:
              24 Start watching this issue

                Created:
                Updated: