Hi all,
I'm looking to send an automated email with the hyperlinked key, summary, and the last comment on an issue. I attached a picture of how it is currently set up. However, in my testing, there is nothing returned for the last comment, despite there being plenty of comments on the issues. Can you please help show me where I went wrong!
@Chris Jost
Since you are using {{issue.comment.last}} inside {{#issues}}, that is one of the problems.
if you take it out and have something like this, it works.
<tr>
<td>{{issue.comment.last.body}}</td>
</tr>
Hi Chris - Welcome to the Atlassian Community!
Try {{issue.comments.last.body}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Chris Jost -- Welcome to the Atlassian Community!
Your rule is using the bulk-handling smart value {{issues}} to iterate over the issues found. Once inside the iterator, just use the field's smart value to access it.
For example:
{{#issues}}
* {{key}} -- {{summary}}: {{comments.last.body}}
{{/}}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.