Notification

Icon
Error

Opened Help Desk tickets report during a specific time of the day

Posted: Friday, June 28, 2019 5:11:50 PM(UTC)
gw2dave

gw2dave

Member Original PosterPosts: 1
0
Like
Is it possible to create a report that shows all the helpdesk tickets opened between 4:30pm -6:30pm Monday – Friday? There is a HD report that shows all tickets opened in a month and I'm just wondering if I can get more specific in terms of time and day.
Adam P.
#1Adam P. Member Posts: 3  
posted: 12/21/2020 3:07:34 PM(UTC)
Originally Posted by: gw2dave Go to Quoted Post
Is it possible to create a report that shows all the helpdesk tickets opened between 4:30pm -6:30pm Monday – Friday? There is a HD report that shows all tickets opened in a month and I'm just wondering if I can get more specific in terms of time and day.


Did you ever figure this out? I'm looking to do the same thing.
Brandon
#2Brandon Member Posts: 90  
posted: 1/4/2021 6:57:22 PM(UTC)
Originally Posted by: gw2dave Go to Quoted Post
Is it possible to create a report that shows all the helpdesk tickets opened between 4:30pm -6:30pm Monday – Friday? There is a HD report that shows all tickets opened in a month and I'm just wondering if I can get more specific in terms of time and day.


I was able to narrow it down between Monday and Friday, but not the times. Here is the code. I used the Tickets created in the last 7 days canned report and edited it:

Quote:
Select Top 1000000 htblticket.ticketid,
'#' + Cast(htblticket.ticketid As nvarchar) As Ticket,
htblticket.date As CreationDate,
htblticket.updated As LastUpdated,
htbltickettypes.typename As Type,
htblticketstates.statename As State,
htblpriorities.name As Priority,
htblsource.name As Source,
htblusers.name As [User],
htblusers1.name As AssignedAgent,
htblusers2.name As UserLastNote,
'../helpdesk/icons/' + htbltickettypes.icon As icon,
htblticket.subject As Subject
From htblticket
Inner Join htblpriorities On htblpriorities.priority = htblticket.priority
Inner Join htblticketstates On htblticketstates.ticketstateid =
htblticket.ticketstateid
Inner Join htblusers On htblusers.userid = htblticket.fromuserid
Left Join htblagents On htblagents.agentid = htblticket.agentid
Left Join htblusers htblusers1 On htblusers1.userid = htblagents.userid
Inner Join htbltickettypes On htblticket.tickettypeid =
htbltickettypes.tickettypeid
Inner Join htblsource On htblticket.sourceid = htblsource.sourceid
Inner Join htblusers htblusers2 On htblticket.userid_lastnote =
htblusers2.userid
Where DatePart(WEEKDAY, htblticket.date) In (2, 3, 4, 5, 6) And
htblticket.spam <> 'True'
Order By htblticket.ticketid

Active Discussions

Lansweeper LSAgent Rescan Asset
by  marck1024   Go to last post Go to first unread
Last post: Yesterday at 4:11:53 PM(UTC)
Lansweeper Allowing a role to create asset groups
by  mh6543   Go to last post Go to first unread
Last post: 2/26/2021 10:00:40 PM(UTC)
Lansweeper Export LsAgent Assets
by  steveb  
Go to last post Go to first unread
Last post: 2/26/2021 7:26:32 PM(UTC)
Lansweeper Asset Uptime "Asset on total"
by  Andy.S   Go to last post Go to first unread
Last post: 2/26/2021 3:07:35 PM(UTC)
Lansweeper Scanning for Static Routes?
by  ChrisParr  
Go to last post Go to first unread
Last post: 2/26/2021 12:43:28 PM(UTC)
Lansweeper lansweeperuser sql database permissions
by  David K.   Go to last post Go to first unread
Last post: 2/25/2021 11:54:38 PM(UTC)
Lansweeper Scanning certificates
by  Vincent Pollock  
Go to last post Go to first unread
Last post: 2/25/2021 8:35:11 PM(UTC)