Hi to all,
I'm trying to build an automated email notification using Automation for Jira.
The automation workflow starts with a schedule trigger and follows directly to an "LookUp Issue" action and then to the "Send Email" action.
I was aiming to send a notification with the following format:
"Issue abc - X days since creation"
I tried to use the following format:
<ul>
{{#lookupIssue}} <li> {{key}} : {{created.diff(now).days}} days since creation. </li> {{/}}
</ul>
I've tried inverting the created.diff(now) to now.diff(created), saving the {{now}} result to a variable and using the variable inside the {{#lookupIssue}} section, but none of this works.
After some debbuging I concluded that I can't access any external smart value that is in the outter scope of {{lookupIssue}} section, or it seems to me it's something around that.
Does anyone have any suggestion on how I can accomplish this? or why the smart value can't be accessed from within the {{#lookupIssues}} scope, am I missing something or doing something wrong?
Thank you in advance