/build/static/layout/Breadcrumb_cap_w.png

Kace report Ticket numbers are incorrect

So I'm using the below to track ticket changes by a particular user, however the Tickets output displays random numbers instead of actual ticket numbers. I'm fairly lost on the reason why. 

SELECT USER.FULL_NAME, COUNT(DISTINCT(HD_TICKET_CHANGE.HD_TICKET_ID)) as '# Changed',

GROUP_CONCAT(DISTINCT(HD_TICKET_CHANGE.HD_TICKET_ID)) as'Tickets'

FROM USER

JOIN HD_TICKET_CHANGE on HD_TICKET_CHANGE.USER_ID = USER.ID

WHERE HD_TICKET_CHANGE.TIMESTAMP > DATE_SUB(NOW(), INTERVAL 1 MONTH)

and USER.USER_NAME = "PARTICULAR USER"

GROUP BY USER.FULL_NAME


Ideally, I'd like to report on how many Tickets the Particular User created, and display the ticket numbers, but I'm not the brightest so I'm working with what I've got. 


0 Comments   [ + ] Show comments

Answers (1)

Posted by: IDKneThing 5 years ago
White Belt
0

Turns out I am dumber than I thought. It works just fine when generating XLS. 

 
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