On Thu, Aug 31, 2006 at 09:52:15AM -0400, Hornet wrote: > Hello, > > I added a CF that holds ticket closure codes. My question is, how do I > make it mandatory to select a code before the status is changed to > close and make it so no matter how you close the ticket (jumbo, batch, > single), it must be filled out? My first idea is to make a custom CGI > that holds the codes and then uses the CLI tool to update and close > the ticket. > > Thanks!
You need to hack the RT API so tht RT::Ticket::SetStatus checks that the CF is set before it closes the ticket. You may still run into trouble if the web UI updates ticket status before it updates custom fields... -Todd _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
