Email all Public/Internal comments to the reporter while closing the ticket.
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Send Jira ticket information(including all comments) to the reporter via email while closing the ticket.
Solution
We can achieve this requirement using Jira Automation.
The steps to configure the Automation rule are as follows:
- Goto Project Settings > Automation
- Click on "Create Rule"
Trigger: Issue Transitioned
Action: Send Email{{issue.summary}} {{issue.description}} {{issue.key}}
{{#issue.comments}} Comment by: {{author.displayName}} at: {{created}} {{body}}
{{/}}
To exclude Internal Comments use the below Automation rule:
Trigger: Issue Transitioned
Action: Send Email{{issue.summary}} {{issue.description}} {{issue.key}}
{{#issue.comments}}
{{#if(not(internal))}} Comment by: {{author.displayName}} at: {{created}} {{body}}
{{/}}{{/}}