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

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
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.
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!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events