The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JSM Automation - Send emails with attachments when comment is added

Michael
Contributor
November 30, 2023

Hi, 

I want to send emails to people when a comment is added to an issue using Jira automation. I'm using the following smart value and the code below in the email body, but the emails don't look very friendly. Has anyone tried something similar and successfully added attachments to the emails through automation? Or suggestion on how to improve the code ? 

 

{issue.comments.last.body}}

---------------------------------------------------------------------------------

Email Attachments:
<ul>
{{#issue.attachment}}
<li><a href="{{content}}">{{filename}}</a></li>
{{/issue.attachment}}
</ul>

 

Capture.JPG

Email Output 

email_output.JPG

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Michael
Contributor
December 1, 2023

@Igor Medeiros - Modus Create thanks for the suggestion but we would like to stay away from additional addons if possible

0 votes
Igor Medeiros - Modus Create
Atlassian Partner
November 30, 2023

Hi @Michael 

I believe that our app Notification Assistant for Jira is able to solve this problem for you.

It offers fully customizable templates, triggers and it is capable of adding attachments to notification as well, both as links and inline.

Feel free to reach out!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events