[Rt-devel] fixing last-update info when importing tickets from elsewhere

Jesse Vincent jesse at bestpractical.com
Sat Aug 16 04:51:30 EDT 2008


On Aug 15, 2008, at 11:55 PM, Olly Stephens wrote:

> Hi,
>
> I am in the process of developing the scripts to migrate a large  
> number
> of tickets from a third party system into RT 3.8.  I have almost
> everything working now.  The one thing I cannot seem to do, though, is
> get the LastUpdated and LastUpdatedBy set to anything other than the
> current time and user.
>
> Ideally I just want to be able to do:
>
> $tkobj->SetLastUpdated($lastt->{Created}) ;
> $tkobj->SetLastUpdatedBy($lastt->{Creator}) ;


$tckobj->__Set( Field =>  'LastUpdated', Value => 'some value');



More information about the Rt-devel mailing list