[rt-users] AutoSet Owner

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Oct 5 22:46:35 EDT 2005

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 <checkpoint at ozbergs.com> wrote:
> Hey Guys,
> 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
> change it.
> If there's someone out there that's done this and knows what the key is
> can they please help me out!
> Thanks
> Stevo
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 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.

More information about the rt-users mailing list