[rt-users] Skipping Owner Change Notification on newly created tickets.

Gene LeDuc gleduc at mail.sdsu.edu
Fri Aug 29 11:12:54 EDT 2008


Hi Traiano,

You can set the new owner without recording the transaction.  If the 
transaction doesn't get recorded then it can't trigger any scrips.

$Ticket->_Set(Field=>'Owner', Value=>$newowner, RecordTransaction=>0);

Regards,
Gene

At 02:48 AM 8/29/2008, Traiano Welcome wrote:
>Hi All
>
>I  have a scrip which automatically changes the owner from "Nobody" to 
>another user when a new ticket is created in that queue, i.e it sets the 
>default queue owner. Normally, the stock-standard 
>notify-on-queue-owner-change scrip that runs after it would notify the new 
>owner of the ticket allocation. My question is:
>Is there a way to turn off this notification  to the default owner of the 
>queue in this specific case, (i.e only when ticket has been assigned it's 
>default owner from previously being owned by Nobody?). And, can this be 
>done without breaking future upgrades of the RT3 installation?
>
>Thanks in Advance,
>Traiano Welcome


-- 
Gene LeDuc, GSEC
Security Analyst
San Diego State University 




More information about the rt-users mailing list