[rt-users] CF Questions

Todd Chapman todd at chaka.net
Thu Aug 31 10:39:03 EDT 2006


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




More information about the rt-users mailing list