Hi All!
I have created a Jira automation to update a person, send him email when the tickets Warranty end date shows that the warranty will end withing 45 day.
Currently the email only shows a list of links and Keys of the tasks that match this condition.
I am trying to make it possible so that the automation will send an email with the Table in it including specific fields from the task and with the field information in these fields.
Here's example of what I wrote till now, but it does not work and does not create a table.
Maybe you can advise how can I fix it?
Please see the list of the assets below. These assets warranty expires within 45 days.
<table>
<tbody>
<tr>
<th>Ref</th>
<th>Title</th>
<th>Site Name</th>
<th>System Device Type</th>
<th>System Device Vendor</th>
<th>Serial Number</th>
<th>Warrant end date</th>
<th>Summary</th>
</tr>
{{#issues}}
<tr>
<td>{{key}}</td>
<td>{{summary}}</td>
</tr>
{{/}}
</tbody>
</table>
Hi Vera,
Use {{issue.field name}} for each of the fields. But the field name must be exactly has the field is created, including case sensitivity.
For example {{issue.Serial Number}} {{issue.Seystem Device Type}}
sorry, a bit confused where I should add into my code above? Can you show me copy pasting mine here and where I would need to add the fields you suggest and specific field names that I would add afterwards?
That might clarify it for me and would be very helpful. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the body of the text that you have above. Can you share the entire automation rule that you have so far?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, did you put in in the Subject? Sorry, but this screenshot is still incomplete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see the list of the assets below. These assets warranty expires within 45 days.
{{#lookupIssues}} *{{key}}*:
{{summary}}: {{url}}{{/}}
<body>
<h4>Report table</h4>
<table>
<tr>
<th>{{#lookupIssues}} *{{url}}*:</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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am adding code to the Automation for sending email notification
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.