Report for response first time

Moderator: crythias

Locked
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Report for response first time

Post by tripti_rai2005 »

I am looking forward to a report showing me the first response time for agents.It could be a static report as well.I need to generate a report in otrs for periodic view by my customer.I would appreciate if someone could help me.
I can write a sql query , but i need a report.
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: Report for response first time

Post by tripti_rai2005 »

Can some one please respond to my query
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
alexus
Znuny wizard
Posts: 382
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Report for response first time

Post by alexus »

If you can build SQL-request you can create own static report. It's not a big deal. If you are interesting feel free to contact us!
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: Report for response first time

Post by tripti_rai2005 »

I have queried the database to get the data..but i want it to be generated dynamically in otrs like the statistic module works..My query looks like this
select
queue.name queue,
service.name service,
ticket.tn ticket,
ticket.create_time,
min(ticket_history.create_time) as resp_time,
timestampdiff(second, ticket.create_time, ticket_history.create_time)/60 resp_delay_min,
queue.first_response_time
from
queue,
ticket,
service,
ticket_history,
ticket_history_type
where
ticket.queue_id = queue.id and
ticket.service_id = service.id and
ticket_history.ticket_id = ticket.id and
history_type_id = ticket_history_type.id and
ticket_history_type.name = 'SendAnswer'
group by queue.name, service.name, ticket.tn, ticket.create_time, queue.first_response_time
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Report for response first time

Post by reneeb »

Then you should have a look at the existing stats modules (<OTRS_HOME>/Kernel/System/Stats/...)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
jfberni
Znuny newbie
Posts: 17
Joined: 03 Mar 2011, 16:51
Znuny Version: 3.0

Re: Report for response first time

Post by jfberni »

how can you call the existing static state through otrs.GenerateStats.pl ???

i don't see my object in Report only dynamic
Locked