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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.