Hi team,
I'm trying to collect the time tracking app data, especially together with the ticket's status change, more specifically I'd like to collect the time spent when first the ticket's status is changed from open to pending, is there an easy way to do that via API?
I tried to use ticket audit endpoint but it doesn't show the "Total time spent" value as in here:

Can you help me with this?
Thanks in advance