[rt-users] Worked value not updated
Ruslan U. Zakirov
cubic at acronis.ru
Wed May 5 14:04:56 EDT 2004
Kevin Sonney wrote:
> 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.
Sorry, for that I was looking in wrong place RT should update it on any
transaction if it has TimeTaken.
Best regards. Ruslan.
>
> 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.
>
>
> _______________________________________________
> 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