Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Mods and Customizations

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2010, 09:15 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Cool [MOD] Ticket Aging, Ticket Summary, and Ticket For Staff Report

Dear osTicket Community,

I have successfully created three kinds of report related to the ticket items monitoring. These reports can be accessed from the Dashboard in Admin Panel of your osTicket. The first time they were being displayed, you will see only the description and its count based on the report criteria. However, you will be able to view the detail (ticket items) by expanding/clicking the description or its count.

Here are the screenshots:

1) Ticket Aging:


Active Tickets means that the tickets are Open, but they are assigned and
currently actively being worked on.

2) Ticket Summary:


3) Ticket For Staff:


I will publish the modification code tomorrow, and I hope this will be helpful for all of you. So, stay tuned!

Sincerely,
Masino Sinaga
Reply With Quote
  #2  
Old 01-31-2010, 02:34 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Lightbulb Modification Code

As I promised yesterday, you can now get the modification code:

Adding Ticket Aging, Ticket Summary, and Ticket for Staff Report Feature into osTicket v1.6 RC5

Thanks.

Sincerely,
Masino Sinaga
Reply With Quote
  #3  
Old 01-31-2010, 10:59 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Wink Feedback?

Please do not hesitate to post any feedback regarding the MOD I created above.

Thanks,
Masino Sinaga
Reply With Quote
  #4  
Old 02-01-2010, 03:07 PM
beeman beeman is offline
Member
 
Join Date: May 2009
Posts: 62
Default

Thanks Masino,

I am looking to add some reporting functionality to my osTicket and I think your MOD will come in handy. Can you enable Department managers to be able to use this feature over and above just the administrator? Thanks.

Regards
Beeman
Reply With Quote
  #5  
Old 02-02-2010, 09:38 AM
asaygi asaygi is offline
Junior Member
 
Join Date: Nov 2009
Location: Turkey
Posts: 11
Default Very good

Thank you masino_sinaga. I have install and no problem work at the system
Good Job.
Reply With Quote
  #6  
Old 02-05-2010, 08:48 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Talking Glad you like it

@beeman,

You're welcome. I will try to implement it for being to be used by dapartment managers, too.

@asaygi,

You're welcome. Glad it works fine at yours.

Sincerely,
Masino Sinaga
Reply With Quote
  #7  
Old 02-05-2010, 09:00 AM
kpascoe kpascoe is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Default

Excellent work. Only thing I had to do to get it to stop throwing database errors was change the staffid variable on line 115 in ticketsummary.inc.php from

PHP Code:
$sqltotalclosed='SELECT * FROM '.TICKET_TABLE.' WHERE status = "closed" and staff_id='.$staff_id.''
to

PHP Code:
$sqltotalclosed='SELECT * FROM '.TICKET_TABLE.' WHERE status = "closed" and staff_id='.$staffid.''
Reply With Quote
  #8  
Old 02-05-2010, 09:12 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Thumbs up

@kpascoe,

Thanks for the correction, so it will stop throwing the database error in System Logs page.

Actually, that SQL does not have affected since the closed tickets will have staff id value = "0" (zero) in ost_ticket table. In other words, that SQL above will always give the result as "0" record, whereas this SQL below will give the result all of the closed tickets (else section):

PHP Code:
$sqltotalclosed='SELECT * FROM '.TICKET_TABLE.' WHERE status = "closed"'
CMIIW.

Sincerely,
Masino Sinaga

Last edited by masino_sinaga; 02-05-2010 at 09:26 AM. Reason: adding comparison between two SQLs
Reply With Quote
  #9  
Old 02-08-2010, 10:19 AM
beeman beeman is offline
Member
 
Join Date: May 2009
Posts: 62
Default

Hi Masino,

Just wanted to know if it is possible you could expand your reporting MOD to include the MTTR reporting as requested by myself on the other thread; please see here;http://www.osticket.com/forums/showthread.php?t=3411

I will appreciate your in this regard.

Thanks
Beeman
Reply With Quote
  #10  
Old 02-08-2010, 08:01 PM
quatog quatog is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Default

Any chance this will work on rc4? Can you include a per department statistics? How about graphical representations to the data?
Reply With Quote


Reply

Bookmarks

Tags
admin panel, report, ticket aging, ticket for staff, ticket summary

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:02 PM.