You have to change:
If you want enter user name or email address, then you should find
example on the wiki how to load user info by name and get its id.
Code would look like:
my $user = RT::User->new( $RT::SystemUser );
$user->Load( ‘name’ );
$self->TicketObj->SetOwner( $user->id );
…On 10/6/05, Stevo email@example.com wrote:
I’m attempting to AutoSet the owner of all tickets for a certain queue
to a certain user. I found this
http://wiki.bestpractical.com/index.cgi?AutoSetOwner on the Wiki which
allows you to AutoSet the owner to the current users. I attempted to
modify it to just set to a specific user, but couldn’t work out how to
If there’s someone out there that’s done this and knows what the key is
can they please help me out!
Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com
Best regards, Ruslan.