Thanks Ruslan. 

When I force the new owner, I now get the following result:

forcing owner change works, I see the transcation but then it gets reverted back.

I've checked for other scrips which may do this, but they do not exist.


RT_System Owner forcibly changed from jane done to john doe

but then generates:

john doe - Given to jane doe

Thanks again,
Roman

On 5/27/06, Ruslan Zakirov <[EMAIL PROTECTED]> wrote:
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

Reply via email to