[rt-users] RT Customizations inquiry
Chuck Boeheim
boeheim at slac.stanford.edu
Tue Mar 7 14:49:11 EST 2006
> 2. When updating the ticket and trying to put the ticket into a new
> queue its still assigned to the person who still has ownership. I
> want it as soon as it is dropped into the new queue its unassigned
We use the following scrip:
On queue change
Custom Action:
Prepare:
return 1;
Cleanup:
$self->TicketObj->_Set(Field => 'Owner', Value => $RT::Nobody-
>UserObj->Id, RecordTransaction => 1);
$self->TicketObj->_Set(Field => 'Status', Value => 'new',
RecordTransaction => 1);
return 1;
The second line, changing the status, you may or may not want.
Regards,
-Chuck Boeheim
Stanford Linear Accelerator Center
More information about the rt-users
mailing list