[rt-users] how to move tickets to different queue?

Raed El-Hames rfh at vialtus.com
Tue Apr 6 09:35:03 EDT 2010


Manohar;

Global or queue scrip ;
condition : On Create
action: User defined
Custom action preparation code:
    return 1;
Custom action cleanup code: 
if ($self->TicketObj->RequestorAddresses =~  /myname\@somedomain\.com 
<mailto:myname at somedomain.com>/ ) {
   $self->TicketObj->SetQueue('new_queue');
   return 1;
}
return undef;

Regards;
Roy


H Manohar Rayker wrote:
>
> Hi,
>
>  
>
> How can I move a ticket to a different queue on the time of creation 
> based on the senders email domain?
>
>  
>
> For eg:
>
>  
>
> myname at somedomain.com <mailto:myname at somedomain.com>   tickets should 
> be moved to new_queue
>
>  
>
>  
>
> Thanks
>
> Manohar
>



More information about the rt-users mailing list