1 package RTx::MandatoryCustomFields;
9 RTx::MandatoryCustomFields - RT Extension to require custom fields to be set before resolving a ticket
13 This RT extension adds a field to custom field definitions, allowing
14 the field to be designated as "Required". If this is enabled, tickets
15 with no value in that custom field will refuse to resolve. Note that
16 unlike the Mandatory Subject extension, the field does not have to be
17 set to create the ticket.
19 Required fields are enforced in the web interface, not the RT API, so
20 they can be bypassed fairly easily by command-line, email, or other
21 mechanisms for changing a ticket's status. This extension is for
22 encouraging good habits, not for security.
28 make initdb # if you have never installed this extension before
31 If your RT is not in the default path (/opt/rt3), you must set RTHOME
36 Add this line to your RT_SiteConfig.pm:
38 Set(@Plugins, ( 'RTx::MandatoryCustomFields' ));
40 If you already have a Set(@Plugins ...) line, add 'RTx::MandatoryCustomFields'
41 to the list of values.
43 Then edit your custom field and check the 'Required' box. Any number of
44 custom fields may be flagged as required.
46 If the user tries to resolve a ticket when one or more required fields
51 Mark Wells <mark@freeside.biz>