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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
John Funk
Community Champion
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