Hi,
I am using diff functions to calculate the aging of a given a ticket.
{{now.diff(issue.created).prettyPrint}} the output is negative
but my answer is like -3 days 8 hours. How can I remove negative from this? I did try switching the function and it didn't work.
Thanks
Neetu
Hi @Neetu Verma ,
Below worked for me
{{issue.created.diff(now).prettyPrint}}
It displayed below output for my sample issue.
71 days 23 hours 40 minutes 24 seconds
Thanks.. it worked I have no clue what I was doing wrong.. I tried it last night and it didn't work.
Thanks
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.