Hi,
I'm setting up an automation rule to run a JQL, and send a Slack message with the results of the query. Within the message, I'd like to calculate the age of each issue, but I'm not able to access 'now' inside the lists by doing the following
{{#issues}}
{{now.diff(created).days}}
{{/}}
I'm able to access 'now' outside of the {{#issues}} block, but it seems to not work inside the block. I'm assuming it's because 'now' is being treated as a property of the current issue instead of a smart value, but I'm not sure how to escape it. Is it not possible to do this with the current featureset?
Thanks!
Hi @john_denver ,
Currently the use of math and date functions does not work within lists. I'll pass this on as a feature request to the team.
You can still use the lookup issues actions and add the create date for each issue (but that date isn't in a very readable format).
{{#lookupIssues}}
{{key}} - {{created}}
{{/}}
Thanks,
John
Found this page while googling for the exact same question. Does anybody know?
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.