I attempted to add an “Aging” label through a scheduled automation job, but I’m not getting the expected output.
My Scenario:
A ticket is created on Monday. When the scheduled job runs on Thursday morning, the automation should automatically update the label as Aging_3, where “3” represents the number of business days elapsed since the creation date.
The smart value
{{now.diff(issue.created).businessDays.abs}}
correctly returns 3.
However, when I try to prefix this value with "Aging_" using the concat function, I’m not getting the desired label.
Instead of producing Aging_3, the automation outputs:
{{"Aging_".concat(now.diff(issue.created).businessDays.abs}}
I have not defined any additional custom field to store this value — I need this to work directly within the Labels field.
Not sure what I’m missing here. Looking for guidance from the community.