Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automated email as issue comment

Sean Kersey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2024

I have a Jira automation created such that when an issue is created, it sends an automated email to the submitter acknowledging receipt of said issue. What I would like to do is also append a copy or the text of that automated email as a comment in the created issue. I can't seem to find a way to do that or any method to describe a way to do that. Any ideas on how to make that happen? It feels easy enough, but my Jira automation knowledge and Googling haven't produced any results.

1 answer

0 votes
Trudy Claspill
Community Champion
August 22, 2024

Hello @Sean Kersey 

Welcome to the Atlassian community.

Are you using an Automation Rule to send the email? Or are you leveraging the built-in Notifications functionality of Jira?

If you are using an Automation Rule, then you can use the Comment On Issue action to add a comment to the issue.

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Comment-on-issue

Sean Kersey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2024

I'm using an Automation rule to send the email.

I'm also using that Comment On Issue to add a comment to the issue to say something to the effect of "An automated acknowledgement has been sent to the submitter" but I'm also trying to get the actual automated email that was sent in there as a comment or attachment as well. That's the part I can't seem to make happen. It's an audit thing. It's not enough to say we did it, we have to prove that we did it.

Trudy Claspill
Community Champion
August 22, 2024

Is this for issues in a Software project or a Service Management project?

If it is for a Software project and you have the default email email handler configured then it might work to modify the TO for the Send Email action to send the mail to your default email server email address at the same time. You'll need to make sure the subject of the email includes the issue key.

Screenshot 2024-08-22 at 1.07.48 PM.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2024

Hi @Trudy Claspill 

Have you tested that approach with the default email handler with a non-Free license level

I tried it with a Free license and either the rule did not send to the site's Jira email address or the default incoming handler ignored it as an automation source and so did not add the comment.

Thanks, and kind regards,
Bill

Trudy Claspill
Community Champion
August 22, 2024

@Bill Sheboy 

I have not tested it at all, which is why I said "it might work to..." ;-)

In my Free instance the Email handler has the setting 

senderEmail: no-reply@mysite.atlassian.net

I wondered if any emails coming from that sender would be ignored, and if that is the sender email for emails that come from Automation Rules. But I did not have time to explore it more.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events