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

H Manohar Rayker manohar.r at glowtouch.com
Wed Apr 7 01:51:20 EDT 2010


Thank You very much Roy, this thing worked.

-----Original Message-----
From: Raed El-Hames [mailto:rfh at vialtus.com] 
Sent: Tuesday, April 06, 2010 7:05 PM
To: H Manohar Rayker
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] how to move tickets to different queue?

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