/build/static/layout/Breadcrumb_cap_w.png

K1000 Service Desk custom report question

Has anyone setup a custom report to display amount of total tickets opened / closed for the year based on a category name or title of the ticket?

Looking to get some data on our new hire tickets.


Thanks!


2 Comments   [ + ] Show comments
  • Do you just want a count of tickets opened or broken down by month, etc.? - chucksteel 5 years ago
  • Yes, a count broken down by month for open and closed. - boston491 5 years ago

Answers (1)

Posted by: chucksteel 5 years ago
Red Belt
3

This is what I use:

SELECT YEAR(CREATED) AS TicketYears, MONTH(CREATED) AS TicketMonths, COUNT(ID) AS "Opened",
(SELECT COUNT(ID) FROM HD_TICKET WHERE YEAR(TIME_CLOSED) = TicketYears and MONTH(TIME_CLOSED) = TicketMonths) AS "Closed"
FROM ORG1.HD_TICKET
GROUP BY YEAR(CREATED), MONTH(CREATED)


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