Send email with comments of all updated issues with Automation

Chelsie Librun
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!
September 24, 2021

Hello. I'm trying to send an email with the last comment of every issue that was recently updated. I used the Lookup issues component. Then I tried the following email:

 

Hello,

The following issues have status updates:

<ul>
{{#lookupIssues}}
    {{#if(not(issue.comments.isEmpty))}}
        <li><b>{{key}}: {{summary}}</b> {{issue.comments.last.body}} </li>
    {{/}}
{{/}}
</ul>

 

 

From reading the documentation, it looks like #lookupissues doesn't support issue.comments. Does anyone know of another way I could approach this problem?

 

1 answer

1 vote
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2021

Hi Chelsie - Welcome to the Atlassian Community!

See this previous post for information:

https://community.atlassian.com/t5/Automation-questions/How-to-send-last-comment-with-the-Automate-and-lookup-issues/qaq-p/1784269

Suggest an answer

Log in or Sign up to answer