[rt-users] Move tickets to Queue

polloxx polloxx at gmail.com
Mon Feb 22 09:25:33 EST 2010


Dear,

As I'm new to RT I'm trying to setup a system for our needs.
We want a queue for each customer. Tickets are created by email.
So I want to test this with my own gmail address:

I've created a queue called 'Gmail'.

In the General queue I've created a Scrip:

Condition: On Create
Action: User defined
Template: Global template: Blank
Stage: TransactionCreate

Custom action cleanup code:

if ($self->TicketObj->RequestorAddresses =~ /polloxx\@gmail\.com/){
  $self->TicketObj->SetQueue("Gmail");
  return(1);
}

return(undef);

So a new created ticket should move from the 'General' to the 'Gmail'
queue but it doesn't. What am I doing wrong?

Thx,
P.



More information about the rt-users mailing list