[rt-users] Worked value not updated
Ruslan U. Zakirov
cubic at acronis.ru
Wed May 5 13:07:58 EDT 2004
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