[rt-users] scrip questions
Ruslan Zakirov
ruslan.zakirov at gmail.com
Sat May 27 21:28:50 EDT 2006
On 5/12/06, Roman Steven <romansteve at gmail.com> 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: sales at bestpractical.com
>
>
> 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.
More information about the rt-users
mailing list