I am trying to add a comment that the issue has been in status for these many days after a transition. I have tried the below two statements in automation and both returns 0.
This issue has been in the status for {{issue.updated.diff(issue.updated).days.abs}} days.
This issue has been in the status for {{now.diff(issue.updated).days.abs}} days.
Any help is appreciated .