| ||||||||||||
![]() |
| Notices |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rating: | Display Modes |
(#31)
|
(#32)
|
| New Member Posts: 17 Join Date: Dec 2007 Location: Cologne |
11-04-2008, 02:24 PM
Hi, I've got a small question about SupportSuite mysql database. Does anyone of You know, how is the 'userid' from 'swusers' table connected with 'typeid' from 'swcustomfieldvalues' table. I need to know it, so I can make report, where there is address (in my case) joined with user name. Thank You guyz for any help.. Row 220 of 1054 [==========]20,84% |
| | |
(#33)
|
| New Member Posts: 1 Join Date: Apr 2008 |
29-04-2008, 02:53 PM
Does the below work in v3.20.02? I used to have it working, but I have recently reinstalled to V3.20.02 and after re-applying this mod it doesn't appear to work. It brings up the report, but won't bring back any results. Is it just me? Quote:
| |
| | |
(#34)
|
| New Member Posts: 10 Join Date: Jan 2008 |
07-05-2008, 04:16 PM
if anyone is just looking for basic sql reports by department they can build off of, the following is what i used to retrieve basic info. Code: --------------------------------------------------
total by department
--------------------------------------------------
SELECT d.title AS 'Department',
COUNT(t.ticketid) AS 'Number of Tickets',
(SELECT COUNT(t.ticketid)
FROM swtickets t
WHERE FROM_UNIXTIME(t.dateline) BETWEEN '2008-01-01 00:00:00' AND '2008-05-06 23:59:59') AS 'Total Tickets',
ROUND(COUNT(t.ticketid) / (SELECT COUNT(t.ticketid)
FROM swtickets t
WHERE FROM_UNIXTIME(t.dateline) BETWEEN '2008-01-01 00:00:00' AND '2008-05-06 23:59:59') * 100,
2) AS 'Percentage'
FROM swtickets t
LEFT JOIN swdepartments d
ON t.departmentid = d.departmentid
WHERE FROM_UNIXTIME(t.dateline) BETWEEN '2008-01-01 00:00:00' AND '2008-05-06 23:59:59'
GROUP BY t.departmentid
ORDER BY COUNT(t.ticketid) DESC;
--------------------------------------------------
time tracked tickets by department
--------------------------------------------------
SELECT d.title AS 'Department',
COUNT(t.ticketid) AS 'Number of Tickets',
(SELECT COUNT(t.ticketid)
FROM swtickettimetrack ttt
LEFT JOIN swtickets t ON ttt.ticketid = t.ticketid
WHERE FROM_UNIXTIME(t.dateline) BETWEEN '2008-01-01 00:00:00' AND '2008-05-06 23:59:59') AS 'Total Tickets',
ROUND(COUNT(t.ticketid) /
(SELECT COUNT(t.ticketid)
FROM swtickettimetrack ttt
LEFT JOIN swtickets t ON ttt.ticketid = t.ticketid
WHERE FROM_UNIXTIME(t.dateline) BETWEEN '2008-01-01 00:00:00' AND '2008-05-06 23:59:59') * 100, 2) AS 'Percentage',
SUM(ttt.timespent) 'Time Spent',
SUM(ttt.timebillable) 'Time Billable',
ROUND(SUM(ttt.timespent) / COUNT(t.ticketid),2) as 'Average Time Spent Per Ticket'
FROM swtickettimetrack ttt
LEFT JOIN swtickets t ON ttt.ticketid = t.ticketid
LEFT JOIN swdepartments d
ON t.departmentid = d.departmentid
WHERE FROM_UNIXTIME(t.dateline) BETWEEN '2008-01-01 00:00:00' AND '2008-05-06 23:59:59'
GROUP BY t.departmentid
ORDER BY COUNT(t.ticketid) DESC;
|
| | |
(#35)
|
| New Member Posts: 2 Join Date: May 2008 | Hi, I am new with kayako and want to use it in a multilingual environment, which is allready a pretty difficult thing to set up. Now I would need plain and simple reporting without someone having to give in manually how long he spent working on a ticket. This would be for chat and ticketing. Is there a way I can do this without having to create a million templates and groups and god knows what ? I just want to know how many chats one of my agents answered in one week/one month for example. The same goes for tickets and how long he spends on them on average. Or is this something going to be implemented in the next version ? A simple explanation, call it for dummy`s if you like Thanks |
| | |
(#36)
|
| New Member Posts: 1 Join Date: Jun 2008 | staff reporting -
12-06-2008, 08:13 PM
Hello Kayako users, I am in the same predicament as most of you are in as we are looking for a way to report how long it takes our agents to respond, the duration of the ticket and by the type of product they needed support for. If there is not a solution we could easily implement, we are willing to pay a developer to create this tool for us. If you have a solution or want to develop this with us, send me a PM or reply to the post. Thanks! |
| | |
(#37)
|
(#38)
|
| New Member Posts: 3 Join Date: Feb 2008 |
25-07-2008, 06:24 PM
Hey Everyone, I'm trying to grab a custom field that we have linked to the billing view as we do not have a flat bill type. We have 3 different per hour bill charges 1) 150/hour 2) 200/hour 3) 250/hour The option is specified when a technician enters his time into the system. Using the sql statements above, we're pulling most of what we need into the ticket, but we still need to display the custom field. Is there a way I can get some assistance modifying the statements to include our custom field value? Thanks much Matt |
| | |
(#39)
|
(#40)
|
| Senior Member Posts: 3,692 Join Date: Aug 2006 Location: Mumbai, India |
14-08-2008, 09:10 AM
Have you entered any billing entries in your helpdesk? Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#41)
|
(#42)
|
(#43)
|
(#44)
|
| New Member Posts: 10 Join Date: Nov 2007 |
07-09-2008, 04:41 AM
we are having the same problem with 3.30.02. We were the ones who created the timespent report and everything I upgrade I go through the same procedures to add the new report. In 3.20.02 I had no problems. PieterK, where is report_stats.php location? did this solve your problem? |
| | |
(#45)
|
![]() |
| Tags |
| billing, inside, queries, reporting, sql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SupportSuite reporting. | byronsmith | Presales Questions | 5 | 04-08-2007 08:45 AM |