[rt-users] auto-assign ticket owner based on From or To Headers

Dimitry Faynerman dimitry.faynerman at hypermediasystems.com
Thu Sep 30 17:21:51 EDT 2004


Not exactly what you want, but similar...
I wrote a scrip which assign a ticket to the queue's AdminCC

Condition: on create
Action: user defined
Preparation code: return 1;
Cleanup code:

if (defined($self->TicketObj->QueueObj->AdminCc->MembersObj->Next)) { 
   $self->TicketObj->SetOwner(
          $self->TicketObj->QueueObj->AdminCc->MembersObj->Next->MemberId);
}
return 1; 

Stage: Txn create
Template: global blank

Hope this helps
Dimitry




-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of brianBOFH
Sent: Thursday, September 30, 2004 1:29 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] auto-assign ticket owner based on From or To Headers

RT Guru's:

Is there a way to auto-assign a ticket to an owner?  I already use
rt-mailgate to sort out queue's.  I would like to setup an alias
user3-queue at domain.com, where that email would automagically be
assigned to user3 in said queue.

Thanks for your help!

-Brian
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list