is there a way to send specific attachment in an email with JIRA automation

Neetu Verma August 10, 2020

I have an automation rule which sends deployment emails, for any hotfixes we need to send approval doc also. 

I need a way to figure out so that it only send the attachment which was last added or the best would be send the attachment with "hotfix" prefix. 

This sends all the attachments

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

{{#issue.attachment.last}}<li><a href="{{content}}">{{filename}}</a></li>{{/issue.attachment.last}}-- this one is sending attachment which is sorted last

Help please

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events