[rt-users] SetStatus and SetOwner scrip question

Kevin Falcone falcone at bestpractical.com
Thu Sep 24 17:06:53 EDT 2009


On Thu, Sep 24, 2009 at 04:02:10PM -0400, Mike Johnson wrote:
>    I was looking through the list's history.
> 
>    The original email did not get an answer to it.
> 
>    The piece that interests me about this listserv topic(dating back to Aug 2007)....
> 
> 
>    Sean, and myself are trying to set a ticket's owner to nobody on an action...
> 
>    He stated,
> 
>    I've tried:
> 
>    $self->TicketObj->SetOwner("Nobody");
>    $self->TicketObj->SetOwner(Nobody);
>    $self->TicketObj->SetOwner("10");
>    $self->TicketObj->SetOwner(10);
>    $self->TicketObj->SetOwner(Name => "Nobody");
>    $self->TicketObj->SetOwner(Name => Nobody);
>    $self->TicketObj->SetOwner(Id => "10");
>    $self->TicketObj->SetOwner(Id => 10);
> 
>    None of these has worked and nothing in rt.log indicates any problems.  I have
>    it set up with debug so I know I'm getting as much info as I can.

If you want as much information as possible, you should check the
return values of SetOwner.  The arguments for the SetOwner method are
documented in Ticket_Overlay.pm.

-kevin

>    Can anyone tell me which of the above? and what else do I need to set to make this happen on a
>    specific condition(I'm using On Queue change).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090924/b303c2e1/attachment.sig>


More information about the rt-users mailing list