06-15-2016 11:15 AM
Solved! Go to Solution.
07-11-2016 11:06 AM
Select Top 1000000 htblticket.ticketid As ID,
htblticket.subject As Subject,
htblticket.date As [Creation Date],
htblusers.name As [Created By],
htblticketstates.statename As State,
htblusers1.name As Agent,
htblticket.slainitial As [Initial Response Date\Time limit],
htblticket.slaresolved As [Resolve time Date\Time limit]
From htblticket
Inner Join htblusers On htblusers.userid = htblticket.fromuserid
Inner Join htblticketstates On htblticketstates.ticketstateid =
htblticket.ticketstateid
Inner Join htblagents On htblagents.agentid = htblticket.agentid
Inner Join htblusers htblusers1 On htblusers1.userid = htblagents.userid
Order By ID
08-15-2016 05:51 PM
08-01-2019 10:33 PM
nmckinney wrote:
This was helpful. What I need is the ability to see the comment history. Could you point me to that table and how to add it into this report?
08-20-2019 02:49 PM
Adam P. wrote:nmckinney wrote:
This was helpful. What I need is the ability to see the comment history. Could you point me to that table and how to add it into this report?
Did you ever find out how to pull ticket comments?
07-11-2016 11:50 AM
07-11-2016 11:06 AM
Select Top 1000000 htblticket.ticketid As ID,
htblticket.subject As Subject,
htblticket.date As [Creation Date],
htblusers.name As [Created By],
htblticketstates.statename As State,
htblusers1.name As Agent,
htblticket.slainitial As [Initial Response Date\Time limit],
htblticket.slaresolved As [Resolve time Date\Time limit]
From htblticket
Inner Join htblusers On htblusers.userid = htblticket.fromuserid
Inner Join htblticketstates On htblticketstates.ticketstateid =
htblticket.ticketstateid
Inner Join htblagents On htblagents.agentid = htblticket.agentid
Inner Join htblusers htblusers1 On htblusers1.userid = htblagents.userid
Order By ID
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now