Mandatory On Transition

I cannot get customfields to be mandatory when resolving a ticket, using the mandatoryontransition extension.
Using the config below, the TimeWorked field is mandatory, but not the two custom fields. I have tried with CF.{ID} as below, and also CF.{Name}, neither seem to work?

Here is my RT_SiteConfig.pm

Plugin('RT::Extension::MandatoryOnTransition');
## https://github.com/bestpractical/rt-extension-mandatoryontransition
Set( %MandatoryOnTransition,
  'it-servicedesk' => {
   '* -> resolved' => ['TimeWorked'],
 },
  'it-infrastructure' => {
   '* -> resolved' => ['CF.29', 'CF.26', 'TimeWorked'],
 },
);

@Matt_Brennan i see you have used this extension before, are you able to help me get the basics working?

I used the field names, without curly brackets.

Example:

Set( %MandatoryOnTransition,
    'CustSupport' => {
        '* -> resolved' => [ 'CF.CustSupportCategory', 'CF.CustSupportSource' ],
    },
);
1 Like

Amazing, that fixed it, even though i thought i had tried that multiple times…

I renamed my two CF’s removed the spaces, and changed my config to use names instead of ID’s and it worked.