Error rendering smart-values: Failed to get value for issue.created.diff(issue.due date).days.abs.

Ryan Hamilton October 16, 2023

Hello,

I'm using the smart value date "diff" function for dates in an automation.

I'm using the smart value as follows {{issue.created.diff(issue.due date).days.abs.}}, I also tried {{issue.created.diff(issue.duedate).days.abs.}} and I'm getting the same error message.

  • Error rendering smart-values when executing this rule: Failed to get value for issue.created.diff(issue.due date).days.abs.

What am I doing wrong?

1 answer

1 accepted

2 votes
Answer accepted
Tim Kopperud
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2023

Hi @Ryan Hamilton

You have an extra "." at the end in your expressions. Try

{{issue.created.diff(issue.due date).days.abs}}

TimK.

Ryan Hamilton October 16, 2023

OMG, I had been looking at the formula for hours and couldn't find the issue.

Thanks, Tim, It worked.

Like Tim Kopperud likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events