/build/static/layout/Breadcrumb_cap_w.png

Basic Report - Number of Tickets by Queue

Just looking for a simple report that will show the number of tickets opened under each queue. Would like to run one that will show by month and one that will show TYD (2014 only). I've managed to get most others going except this one, which seems crazy as it should be easy.

Any help would be appreciated!

Total Tickets by Department (Opened/Stalled/Closed) Year to Date (YTD)

  Queue                                                                  # of Tickets

 Queue 1                                                                      59

Queue 2                                                                       120

Queue 3                                                                        38

 

Etc…


1 Comment   [ + ] Show comment
  • You are going to have to create a custom mysql report. Something like select queue_name, sum(HD_TICKET.ID)……


    You can experiment with running mysql queries using a tool like mysql workbench or flyspeed. - Jbr32 10 years ago

Answers (2)

Answer Summary:
Posted by: chucksteel 10 years ago
Red Belt
0

Here you go:

 SELECT HD_QUEUE.NAME, COUNT(HD_TICKET.ID) as "TYD"
FROM ORG1.HD_TICKET
JOIN HD_QUEUE on HD_QUEUE.ID = HD_TICKET.HD_QUEUE_ID
WHERE YEAR(CREATED) = YEAR(NOW())
GROUP BY HD_TICKET.HD_QUEUE_ID

Basically this query returns a count of tickets created in the current year grouped by queue ID.

 

Posted by: closetgeek 10 years ago
White Belt
0

Thanks Chuck! Any way I can set it to run on only our new queues?

WHERE HD_TICKET.HD_QUEUE_ID =  21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31)

 


Comments:
  • Yes. You need to add a where clause:
    and HD_QUEUE_ID in (2,3,4,5) - chucksteel 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ