/build/static/layout/Breadcrumb_cap_w.png

Service Desk report for Ticket Count all statuses by owner, last 31 days and YTD

I need to generate two reports that will show ticket count in all statuses by owner and the other by submitter last 31 days and YTD.  Looking to show heavy hitters in ticket submitting and those having to handle them. Thank you in advance for your assistance with this.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: h2opolo25 9 years ago
Red Belt
0
Here's a starter... just change the fields around to get what you want.


select ifnull((select FULL_NAME from USER where T.OWNER_ID = USER.ID),' Unassigned') as 'Owner Name', count(*) as 'Total Open Tickets'
from HD_TICKET T
left join USER U on U.ID = T.OWNER_ID
left join HD_STATUS S on S.ID = T.HD_STATUS_ID
where S.NAME not rlike 'Closed|Resolved'
group by T.OWNER_ID
order by count(*)
 
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