Hello,
Using Automation for Jira Im creating an escalation email report to be sent for active issues older than 30 days.
The emailed report needs to include the actual ticket age which Im having difficulty calculating using the diff method. I've tried both methods below using smartvalues and neither of them is resulting in the ticket age being included in the emailed report.
Any ideas what Im doing wrong here?
// snippits of email report looping thru issues
{{#issues}}
<tr><td style="border: 1px solid black; padding:5px 10px 5px 5px; ">{{#now}}func=businessDaysBetween({{created}}), format="toDays"{{/}}</td>
</tr>
{{/}}
{{#issues}}
<tr><td style="border: 1px solid black; padding:5px 10px 5px 5px; ">{{now.diff(created).days}}</td></tr>
{{/}}
Any help is appreciated.
Greg