On 5/12/06, Roman Steven <[EMAIL PROTECTED]> wrote:
Hi,
I have a need to change ownership of a ticket when the person working on
the ticket is not the owner via a scrip. But it won't change the owner.
I've tried the following with no success.
$self->TicketObj->SetOwner( $StaffName,'Force')
$self->TicketObj->SetOwner( $StaffName,'Steal')
my ($status, $msg) = $self->TicketObj->SetOwner( $StaffName,'Force');
die "Couldn't change owner: $msg" unless $status;
Also, how do I specify the encoding in the following:
$self->TicketObj->Comment( Content => $NewContent );
Use MIMEObj argument instead if you want to tune the action.
Thanks,
Roman
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We're hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html
--
Best regards, Ruslan.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We're hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html