Re: [otrs] Stats by ticket state

Hi Everyone! I found out that I can make my own stat with the Static-File feature. My only question is how do I configure it, so that once I put the file in the //Kernel/System/Stats/Static directory, first it shows in the stats module, and secondly it doesn't give me the following error: Can't locate object method "new" via package "Kernel::System::Stats::Static::StateAccounttime" (perhaps you forgot to load "Kernel::System::Stats::Static::StateAccounttime"?) at ../..//Kernel/System/Stats.pm Please I need your help. Thanks and regards María Alejandra Piedra Unidad de Informática y Sistemas de Información IICA (506) 2216-0171 Alejandra.Piedra@iica.intmailto:Alejandra.Piedra@iica.int De: Alejandra Piedra Enviado el: Jueves, 27 de Mayo de 2010 10:23 a.m. Para: User questions and discussions about OTRS. Asunto: Stats by ticket state Hello! I'm trying out the new stats and I want to know if there is a way to create that account time between state changes. For example, I need to know how much time has passed from the moment the ticket is in new state to the moment it's changed to open. I know the stats use the escalations and all this attributes, but my boss is asking me for this type of stats. Thanks for all the help María Alejandra Piedra Unidad de Informática y Sistemas de Información IICA (506) 2216-0171 Alejandra.Piedra@iica.intmailto:Alejandra.Piedra@iica.int

Hi, On 31.05.2010, at 19:02, Alejandra Piedra wrote:
I found out that I can make my own stat with the Static-File feature. My only question is how do I configure it, so that once I put the file in the //Kernel/System/Stats/Static directory, first it shows in the stats module, and secondly it doesn’t give me the following error:
Can't locate object method "new" via package "Kernel::System::Stats::Static::StateAccounttime" (perhaps you forgot to load "Kernel::System::Stats::Static::StateAccounttime"?) at ../..//Kernel/System/Stats.pm
Can you post your Stats file first? Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leideck@leidex.net nils.leideck@otrs.com http://webint.cryptonode.de / a Fractal project

Hi Nils! I actually just made a copy of the StateAction.pm file, just to see if a dropdown list would appear in the Static-File option once I selected the radio button. And now is worst because the Static-File option is no longer available, it just disappeared. Any clue why that could've happened. Thanks and regards María Alejandra Piedra Unidad de Informática y Sistemas de Información IICA (506) 2216-0171 Alejandra.Piedra@iica.intmailto:Alejandra.Piedra@iica.int De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Nils Leideck - ITSM Enviado el: Lunes, 31 de Mayo de 2010 11:27 a.m. Para: User questions and discussions about OTRS. Asunto: Re: [otrs] Stats by ticket state Hi, On 31.05.2010, at 19:02, Alejandra Piedra wrote: I found out that I can make my own stat with the Static-File feature. My only question is how do I configure it, so that once I put the file in the //Kernel/System/Stats/Static directory, first it shows in the stats module, and secondly it doesn't give me the following error: Can't locate object method "new" via package "Kernel::System::Stats::Static::StateAccounttime" (perhaps you forgot to load "Kernel::System::Stats::Static::StateAccounttime"?) at ../..//Kernel/System/Stats.pm Can you post your Stats file first? Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leideck@leidex.netmailto:nils.leideck@leidex.net nils.leideck@otrs.com http://webint.cryptonode.de / a Fractal project

You have to change the name of the package inside the Stats file. Es. package Kernel::System::Stats::Static::StateAccounttime; Roberto Lucarelli ________________________________ Da: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Per conto di Alejandra Piedra Inviato: Monday, May 31, 2010 7:32 PM A: User questions and discussions about OTRS. Oggetto: Re: [otrs] Stats by ticket state Hi Nils! I actually just made a copy of the StateAction.pm file, just to see if a dropdown list would appear in the Static-File option once I selected the radio button. And now is worst because the Static-File option is no longer available, it just disappeared. Any clue why that could've happened. Thanks and regards María Alejandra Piedra Unidad de Informática y Sistemas de Información IICA (506) 2216-0171 Alejandra.Piedra@iica.intmailto:Alejandra.Piedra@iica.int De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Nils Leideck - ITSM Enviado el: Lunes, 31 de Mayo de 2010 11:27 a.m. Para: User questions and discussions about OTRS. Asunto: Re: [otrs] Stats by ticket state Hi, On 31.05.2010, at 19:02, Alejandra Piedra wrote: I found out that I can make my own stat with the Static-File feature. My only question is how do I configure it, so that once I put the file in the //Kernel/System/Stats/Static directory, first it shows in the stats module, and secondly it doesn't give me the following error: Can't locate object method "new" via package "Kernel::System::Stats::Static::StateAccounttime" (perhaps you forgot to load "Kernel::System::Stats::Static::StateAccounttime"?) at ../..//Kernel/System/Stats.pm Can you post your Stats file first? Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leideck@leidex.netmailto:nils.leideck@leidex.net nils.leideck@otrs.com http://webint.cryptonode.de / a Fractal project

Hey there! I have another question regarding the stats. How can I use the WorkingTime()for a specific ticket? get the working time in secondes between this times my $WorkingTime = $TimeObject->WorkingTime( StartTime => $Created, StopTime => $Self->SystemTime(), ); Thanks and regards María Alejandra Piedra Unidad de Informática y Sistemas de Información IICA (506) 2216-0171 Alejandra.Piedra@iica.intmailto:Alejandra.Piedra@iica.int De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Lucarelli Roberto Enviado el: Martes, 01 de Junio de 2010 06:16 a.m. Para: User questions and discussions about OTRS. Asunto: [otrs] R: Stats by ticket state You have to change the name of the package inside the Stats file. Es. package Kernel::System::Stats::Static::StateAccounttime; Roberto Lucarelli ________________________________ Da: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Per conto di Alejandra Piedra Inviato: Monday, May 31, 2010 7:32 PM A: User questions and discussions about OTRS. Oggetto: Re: [otrs] Stats by ticket state Hi Nils! I actually just made a copy of the StateAction.pm file, just to see if a dropdown list would appear in the Static-File option once I selected the radio button. And now is worst because the Static-File option is no longer available, it just disappeared. Any clue why that could've happened. Thanks and regards María Alejandra Piedra Unidad de Informática y Sistemas de Información IICA (506) 2216-0171 Alejandra.Piedra@iica.intmailto:Alejandra.Piedra@iica.int De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Nils Leideck - ITSM Enviado el: Lunes, 31 de Mayo de 2010 11:27 a.m. Para: User questions and discussions about OTRS. Asunto: Re: [otrs] Stats by ticket state Hi, On 31.05.2010, at 19:02, Alejandra Piedra wrote: I found out that I can make my own stat with the Static-File feature. My only question is how do I configure it, so that once I put the file in the //Kernel/System/Stats/Static directory, first it shows in the stats module, and secondly it doesn't give me the following error: Can't locate object method "new" via package "Kernel::System::Stats::Static::StateAccounttime" (perhaps you forgot to load "Kernel::System::Stats::Static::StateAccounttime"?) at ../..//Kernel/System/Stats.pm Can you post your Stats file first? Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leideck@leidex.netmailto:nils.leideck@leidex.net nils.leideck@otrs.com http://webint.cryptonode.de / a Fractal project
participants (3)
-
Alejandra Piedra
-
Lucarelli Roberto
-
Nils Leideck - ITSM