Hi there,
I'm trying to calculate the "first ticket response time." That is, how long it takes to for an agent to respond to a ticket after it's created. I've been using osTicket for almost a year, but I'm relatively new to trying to query data from the database itself.
Basically what I'd like to do is take the date-time when the agent first responds and subtract that from the created data-time, and voila, I should have the first ticket response time.
I just can't seem to figure out how to link or relate the ticket to the thread. By checking a few tickets, I've found that the thread_id seems to be the ticket_id plus 5, but that seems weird, so I thought I'd check here.
Thanks,
Nick