Hi Atlassian Community,
I’ve created a custom number field called Days in Current Status to track how many days an issue has remained in its current status. I configured an automation rule that runs daily and updates this field using the smart value:
scss
<span>{{now.diff(issue.statuscategorychangedate).days}} </span>
The automation rule runs successfully:
Audit log shows status: SUCCESS
Debug comment on the ticket shows correct values. Example:
Debug: SP-25 – Status: In Progress, Days: 6
The field is present on all relevant screens and visible in the issue detail panel
However:
The value for Days in Current Status still appears as None in the issue view, even though the field type is Number and editable.
I’ve already verified:
Field is added to all required screens (7 screens across 2 projects)
Rule actor has full permission
No field context restriction
Tried using both:
{{now.diff(issue.statuscategorychangedate).days}}
and
{{now.diff(issue.status.lastChanged).days}}
Has anyone faced this issue before?
Is there a known limitation with setting number fields via smart values?
This is an important metric for tracking workflow aging, and I believe many teams would benefit from seeing this number clearly.
Thanks in advance!