Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Count for Linked Incidents

Updated: 21 May 2010 | 3 comments
acachero's picture
0 0 Votes
Login to vote

Can someone please assist me in creating a report to Count the number of incidents linked to a master case?

EG - How many incidents are in the 'Linked By' field to a specific ticket.

Thanks

discussion Filed Under:

Comments

NormalC's picture
07
Aug
2008
0 Votes 0
Login to vote

Don't know if you've found an answer yet!

I listed the number of the helpdesk ticket and the count of the child tickets in this simple query. Hope this helps...

SELECT hd1.workitem_link_parent_number AS Parent,   Count(hd1.workitem_number) AS [Count of Children]  
FROM dbo.HD_workitem_current_view AS hd1   
WHERE NOT(hd1.workitem_link_parent_number = 0)  
GROUP BY hd1.workitem_link_parent_number  
ORDER BY hd1.workitem_link_parent_number

acachero's picture
07
Aug
2008
0 Votes 0
Login to vote

Thank you for your reply

Thank you for your reply NormalC
This is exactly what i'm after.

NormalC's picture
08
Aug
2008
0 Votes 0
Login to vote

You're Welcome

Glad I could help.