I wrote an automation rule and used a JQL query in Lookup Issues which will have more than 4 issues as a result of the JQL query. Now I need to send the details of the Lookup issues in a table format with Columns Issue Key, Priority, Assignee, Last Comment on the issue etc., in an email to the initiator of this automation rule. I wrote html tags to build in the Email "Content" field like below
<table>
<tbody>
<tr>
<th>Jira Key</th>
</tr>
<tr>
<td>{{lookupIssues.key}}</d>
</tr>
</tbody>
</table>
The problem is when I use {{lookupIssues.comments.body}} I could see all the comments on the Jira issue being populated but I want only the last comment on each Lookup issue.. I tried using {{lookupIssues.comments.last.body}} but this is not giving me any results in the Last Comment column.. Any solution?
Kindly refer to the similar post at the following link: Getting last comment with lookupissue
Best regards
Sam
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.