
Why cant we change the status of a ticket without emailing the user? There are some internal status changes that happen before a ticket is closed and the agents would prefer not to email the customer when they change the status every time. I have seen that the phone call option allows me to change the status without emailing the customer, which is good; and it also allows the customer to see in the ticket history when a status is changed. But the naming of it causes confusion.. Anyone have similar situations and found a way to make it work? -Andy Lubel --

In Stats, OTRS has a great Time Accounting selection that details the amount of time spent to handle each customer. This is good but we also need the accumulated time actually spent on any given ticket (i.e., by owner). I have tried to develop a SQL statement to do this using the time_accounting table but the time units used in this table do not match what you see if you pull up a ticket, zoom it and look under Accounted Time in the right hand column. Essentially a SQL statement that shows: How much time does it take person 'x' to work each ticket? TIA, Andy Lubel

Hi Andy, Andy Lubel schrieb:
In Stats, OTRS has a great Time Accounting selection that details the amount of time spent to handle each customer. This is good but we also need the accumulated time actually spent on any given ticket (i.e., by owner).
I have tried to develop a SQL statement to do this using the time_accounting table but the time units used in this table do not match what you see if you pull up a ticket, zoom it and look under Accounted Time in the right hand column.
I think there is something wrong with your SQL-query. Post it here. Bye, Alex

[code]
select sum(a.time_unit), b.tn, b.title, c.login
from time_accounting a, ticket b, system_user c
where a.ticket_id=b.id
and a.create_by=c.id
group by a.ticket_id
[/code]
I know its really simple, but im not an analyst!
Thanks for input,
Andy
On 8/18/06 12:45 AM, "Alexander Scholler"
Hi Andy,
Andy Lubel schrieb:
In Stats, OTRS has a great Time Accounting selection that details the amount of time spent to handle each customer. This is good but we also need the accumulated time actually spent on any given ticket (i.e., by owner).
I have tried to develop a SQL statement to do this using the time_accounting table but the time units used in this table do not match what you see if you pull up a ticket, zoom it and look under Accounted Time in the right hand column.
I think there is something wrong with your SQL-query. Post it here.
Bye, Alex _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
--

Hi Andy, On Thu, Aug 17, 2006 at 04:10:19PM -0400, Andy Lubel wrote:
In Stats, OTRS has a great Time Accounting selection that details the amount of time spent to handle each customer. This is good but we also need the accumulated time actually spent on any given ticket (i.e., by owner).
I have tried to develop a SQL statement to do this using the time_accounting table but the time units used in this table do not match what you see if you pull up a ticket, zoom it and look under Accounted Time in the right hand column.
Essentially a SQL statement that shows: How much time does it take person 'x' to work each ticket?
Have you tested the new stats module in the upcomming OTRS 2.1? The first beta of OTRS 2.1 is out, maybe you want to give it a try and test, if the stat module fits your needs. If not, we ofcourse can create a stats module that is specific for your needs Just drop us a message to sales@otrs.com to define the details.
Andy Lubel
Regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!

Thanks, I have the beta, need to brush up on my german! I like where you
are going with this feature by the way!
On 8/18/06 5:03 AM, "Christian Schoepplein"
Hi Andy,
On Thu, Aug 17, 2006 at 04:10:19PM -0400, Andy Lubel wrote:
In Stats, OTRS has a great Time Accounting selection that details the amount of time spent to handle each customer. This is good but we also need the accumulated time actually spent on any given ticket (i.e., by owner).
I have tried to develop a SQL statement to do this using the time_accounting table but the time units used in this table do not match what you see if you pull up a ticket, zoom it and look under Accounted Time in the right hand column.
Essentially a SQL statement that shows: How much time does it take person 'x' to work each ticket?
Have you tested the new stats module in the upcomming OTRS 2.1? The first beta of OTRS 2.1 is out, maybe you want to give it a try and test, if the stat module fits your needs.
If not, we ofcourse can create a stats module that is specific for your needs Just drop us a message to
sales@otrs.com
to define the details.
Andy Lubel
Regards,
Christian
--

I have loaded the beta on a test system , however I do not see the "Agent" restriction or option in any of the Steps , will it be incorporated in the final release? Also , will there be an option to specify your own valid criteria , by this I basically mean a GUI for using SQL queries :) It looks great so far !! keep it up guys!! Andy Lubel wrote:
Thanks, I have the beta, need to brush up on my german! I like where you are going with this feature by the way!
On 8/18/06 5:03 AM, "Christian Schoepplein"
wrote: Hi Andy,
On Thu, Aug 17, 2006 at 04:10:19PM -0400, Andy Lubel wrote:
In Stats, OTRS has a great Time Accounting selection that details the amount of time spent to handle each customer. This is good but we also need the accumulated time actually spent on any given ticket (i.e., by owner).
I have tried to develop a SQL statement to do this using the time_accounting table but the time units used in this table do not match what you see if you pull up a ticket, zoom it and look under Accounted Time in the right hand column.
Essentially a SQL statement that shows: How much time does it take person 'x' to work each ticket?
Have you tested the new stats module in the upcomming OTRS 2.1? The first beta of OTRS 2.1 is out, maybe you want to give it a try and test, if the stat module fits your needs.
If not, we ofcourse can create a stats module that is specific for your needs Just drop us a message to
sales@otrs.com
to define the details.
Andy Lubel
Regards,
Christian

Hi Andy, Try this in Config.pm: # can set status when adding note: $Self->{'Ticket::Frontend::NoteSetState'} = 1; $Self->{'Ticket::DefaultNextNoteStateType'} = ['new', 'open', 'closed', 'removed']; First line is to enable state setting when adding a note, second specifies to which states it can be set. Regards, Richard

Hi Andy, On Thu, Aug 17, 2006 at 01:14:10PM -0400, Andy Lubel wrote:
Why cant we change the status of a ticket without emailing the user?
Activate the posssibility to change the state via the note feature, that should help.
-Andy Lubel
Regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!
participants (5)
-
Alexander Scholler
-
Andy Lubel
-
Christian Schoepplein
-
Danie
-
Richard Hinkamp - BeSite