Hi I have created my own incident report using SQL. This report shows the specific fields and filters based on my special needs. However when I put this report back into the serivice desk, it has removed the hyperlink to the incident. Does anyone know how to re-add this hyperlink?
I have put the copy of my SQL in to the body here/
SELECT DISTINCT
TOP (100) Process.ReportLogProcessID AS [Process.ReportLogProcessID], Process.ReportProcessID AS [Process.ReportProcessID],
Process.ProcessStarted AS [Process.ProcessStarted], Process.ProcessTitle AS [Process.ProcessTitle], Process.SessionID AS [Process.SessionID],
Process.ProcessViewerPageID AS [Process.ProcessViewerPageID], Task0.TaskID AS [Task.TaskID], Task0.DueDate AS [Task.DueDate],
dbo.GetTaskAssignments(Task0.TaskID) AS [Task.TaskAssignments], ReportProcessContact1.ContactType AS [Process_Contacts.ContactType],
ServiceDeskIncidentManagement5.process_id AS [Incident.ID], ServiceDeskIncidentManagement5.priority AS [Incident.Priority],
ServiceDeskIncidentManagement5.classification_category_01 AS [Incident.Category1],
ServiceDeskIncidentManagement5.overall_slastate AS [Incident.SLAStatus], User1.FirstName, User1.LastName, User1.PrimaryEmail
FROM ReportProcess AS Process INNER JOIN
Task AS Task0 ON Task0.SessionID = Process.SessionID INNER JOIN
ReportProcessContact AS ReportProcessContact1 ON ReportProcessContact1.SessionID = Process.SessionID LEFT OUTER JOIN
[User] AS User1 ON ReportProcessContact1.ReferenceID = User1.UserID LEFT OUTER JOIN
[Group] AS Group1 ON ReportProcessContact1.ReferenceID = Group1.GroupID AND ReportProcessContact1.ReferenceType = 2 LEFT OUTER JOIN
UserAddress AS UserAddress4 ON User1.UserID = UserAddress4.UserID INNER JOIN
ServiceDeskIncidentManagement AS ServiceDeskIncidentManagement5 WITH (NOLOCK) ON
ServiceDeskIncidentManagement5.process_id = Process.ReportProcessID
WHERE (Task0.DoNotShowInTaskList = 'False') AND ('3DCA0263-D5EF-48ae-BF96-A161989DFB8E' = '3DCA0263-D5EF-48ae-BF96-A161989DFB8E') AND
(Task0.IsCompleted = 'False') AND (ReportProcessContact1.ContactType = 'Affected User')
ORDER BY [Process.ReportProcessID] DESC