[rt-users] RT3.4: Auto assigning a ticket to a user

Roedel, Mark MarkRoedel at letu.edu
Mon Feb 21 12:18:12 EST 2005


-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Maxime
Levasseur
Sent: Monday, February 21, 2005 10:05 AM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] RT3.4: Auto assigning a ticket to a user

> Here is my problem : for some mails only ( distributed to an adress
like 
> rt-bug at xxxxx ) i just want to automatically :

[snip]

> 3.  Assign this ticket to a user ( always the same for this queue ). I

> guess that it can be done through a scrip, but i don't find it.

Here's an example out of our system...

Description: On ticket creation, set ticket owner...
Condition: On Create
Action: User Defined
Template: Global template: Blank
Stage: TransactionCreate
Custom condition: (blank)
Custom action preparation code:
   return 1;

Custom action cleanup code:
   $self->TicketObj->SetOwner('MarkRoedel');
   return 1;


--
Mark Roedel
Web Programmer / Analyst
LeTourneau University



More information about the rt-users mailing list