Hi All,
I\d appreciate help figuring out how to set it up.
I am trying to set up an email notification ( in automations) which will be showing information for specific fields for each ticket ( from a list of tickets found using lookup issues?
My current try which does not work and automation is showing as Failed:
Please see the list of the assets below. These assets warranty expires within 45 days.
{{#lookupIssues}} *{{key}}*:
{{summary}}: {{url}}{{/}}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Results Report</title>
</head>
<body>
<h4>Report table</h4>
<table>
<tr>
<th>{{#lookupIssues}} *{{key}}*:</th>
<th>Summary</th>
<th>Site name</th>
<th>System Device Type</th>
<th>System Device Vendor</th>
<th>Serial Number</th>
<th>Warranty End date</th>
</tr>
<tr>
<td><a href="URL_TO_Key">Summary</a></td>
<td>80%</td>
<td>100</td>
<td>02:30:00</td>
<td>80</td>
<td>20</td>
</tr>
</table>
</body>
</html>
thanks for your question. In general, the lookupIssues iterator syntax looks like this:
{{#lookupIssues}}
{{key}} {{summary}}
{{/}}
I'm not quite sure about your layout, as you have got this part at the beginning of the table, but also open up a new iterator on the first <th> line. As you do not close this, you probably get an error.
But without knowing your desired result, it is hard to help with the correct setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.