Quantcast
Channel: Kayako reports (Kayako Classic)
Viewing all articles
Browse latest Browse all 108

Ticket count per staff, on-hold in one department

$
0
0
I am looking for the count of on-hold tickets in one sub-queue, grouped by my staff on/after a certain date.

I've got this so far, which returns wildly incorrect numbers, almost as if its not taking into account the ticket creation date:

Code:
SELECT Count(*) as TicketCount 
FROM 'Ticket Audit Logs', 'Staff' 
WHERE 'Ticket Audit Logs.Creation Date' >= mktime(0,0,0,11,19,2015) 
AND 'Staff.StaffGroupID' IN ('Staff', 'Administrator', 'Staff + KB', 'Remote') 
AND 'Tickets.DepartmentID' =...
Ticket count per staff, on-hold in one department

Viewing all articles
Browse latest Browse all 108

Trending Articles