[rt-users] Automatic Ticket Assignment upon Ticket Creation in Queue X

Kenneth Crocker KFCrocker at lbl.gov
Tue Aug 26 12:32:31 EDT 2008


Russ,


	For that, you would need to put in a scrip that has a condition of 
"OnCreate" and an action of "UserDefined". Then your code to set owner 
id to "whatever". However, if you have more than one queue, the scrip 
must be a queue oriented scrip, not global. Hope this helps. An example 
of a set command follows:

$ticket->SetDue($duedate->ISO);
$ticket->SetStatus('open');
$ticket->SetOwner($RT::Nobody->Id, 'Force');

Kenn
LBNL


On 8/25/2008 2:35 PM, Russ Penar wrote:
> The basic idea is, whenever a ticket is created in queue x the ticket  
> is automatically assigned to xAdmin.
> 
> Has anyone found this is possible?  If so, do you have any details to  
> share?
> 
> Regards,
> Russ
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 




More information about the rt-users mailing list