[rt-users] Add incremental time worked in a scrip

Robert Wysocki robert.wysocki at contium.pl
Thu Sep 13 01:24:38 EDT 2012


Dnia 2012-09-11, wto o godzinie 17:51 +0200, Maciej Dobrzanski pisze:
> Gary,
> 
> ➢ I bet this is really easy, but I'm stumped. The wiki didn't help me either.
> 
> If you want to associate times with comments, you need to make sure they are stored inside the corresponding transactions. However transaction objects are immutable, so you probably can't modify them from Scrips. I think you will need to intercept a callback in ticket update and update ticket parameters (UpdateTimeWorked) before they enter the RT core.

I think TransactionBatch scrips are meant to do that.

Regards,
-- 
Robert Wysocki
administrator systemów linuksowych
Contium S.A., http://www.contium.pl





More information about the rt-users mailing list