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.
- Customer 1 raises a Service Desk request.
- Agent 1 responds to the Service Desk Request.
- Customer 1 receives a response and CC's the response to another Customer (Customer 2).
- 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.
- Set up a new Service Desk
- Create an Issue and Send a Comment to a customer as an Agent
- As a customer forward the issue to a colleague to get help responding to the Agents queries
- Respond to the agent, and customer as the external party.
- The response will not be linked to the existing issue unless you are already a request participant of the issue.
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.
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.
The current functionality for inbound E-mail appears to be:
- Check who the sender of the Email is
- Add sender as a new customer if they are not (depending on SD configuration)
- Decide what to do with E-mail content based on the sender's authorisation.
Please use either Service Desk Automation or the JIRA Automation Plugin to do this.
Using JIRA Service Desk
- Go To your Settings under the affected JIRA Service Desk
- Select *Automation
- Create a new Rule and select "Custom Rule" with the following:
- WHEN: Issue Created
- IF: Issue Matches and Create an Advanced JQL filter
- THEN: Add a Comment that indicates that the user is not authorised to comment on the request
- THEN Issue Transition that Resolves the issue.
Using the Automation Add-on
- Create a new Rule
- Set the Issue Event to be Issue Created
- Set the JQL Expression to something S
- 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:
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.