You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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
Hey there Luiz-F!
Yes that's a known bug. I've llinked the bug report here:
https://codebarrel.atlassian.net/browse/AUT-2119
There's no way to workaround this for the moment, unfortunately.
Cheers,
Mark C
Thank you for the fast answer, Mark!
That explains a lot!
I'll follow through the API route and watch the bug report.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.