[rt-users] Worked value not updated
Kevin Sonney
kevins at zumiez.com
Wed May 5 13:41:14 EDT 2004
Just to clarify:
Should RT change the worked field on Comment or Resolve? This is the
functionality that used to work and now is not.
Thanks.
-----Original Message-----
From: Ruslan U. Zakirov [mailto:cubic at acronis.ru]
Sent: Wednesday, May 05, 2004 10:08 AM
To: Kevin Sonney
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Worked value not updated
Kevin Sonney wrote:
> Hey,
>
> I'm having a problem with the Worked value not updating. The value is
> always zero after ticket creating when adding time with a comment or a
> resolve. RT and this feature has worked great for me so far until
this
> issue.
As I see from source RT itself doesn't update ticket's time worked on
transaction create and never expected to do it.
You can use own scrip which do it for you.
CustomScripAction:
my $tt = $self->TransactionObj->TimeTaken;
return 1 unless( $tt );
my $tic = $self->TicketObj;
$tic->SetTimeWorked( $tic->TimeWorked + $tt );
return $tt;
Best regards. Ruslan.
>
> Here's my system info:
>
> RT 3.0.10
> Redhat 9.0
> Mysql 3.23.54
> Apache 1.3.29
> Modperl 1.28
>
> Thanks for the help in advance.
>
> Kevin
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> RT Developer and Administrator training is coming to LA, DC and
> Frankfurt this spring and summer.
> http://bestpractical.com/services/training.html
>
> Sign up early, as class space is limited.
More information about the rt-users
mailing list