how to calculate in automation smart value.trigger when issue closedset(days till end of the year)* custField(number)
Hi @Viktoria Soldatova
First, you can construct the last day of the current year by getting the current year, and adding "-12-31" after it. You can put this in a variable in the automation rule.
Then, you can use this smart value to calculate the difference in days between now, and the end of the year.
{{now().diff(EndCurrentYear.toDate).Days}}
Best regards,
Kris
thank you @Kris Dewachter audit log shows success but the field is empty.
Hi @Viktoria Soldatova ,
Can you post what you have created ?
Also, you can add the "Log Action" at various points in the automation rule to display values in the audit log so you can debug what is going wrong.
@Kris Dewachter
problem was in quotationswrongright
It looks like you're new here. Sign in or register to get started.