MandatoryOnTransaction- Subject Mandatory

Working on Implement MandatoryOnTransaction, running into a snag.
Goal is to not allow a ticket to be created without a requester or a subject.
I started with Subject first.
Currently on 4.4.1

  1. Installed the extension
  2. Called it in the RT_SiteConfig.pm
    Plugin(‘RT::Extension::MandatoryOnTransition’);
  3. Added the configuration in the RT_SiteConfig.pm
    Set( %MandatoryOnTransition,
    ’ => {
    → create’ => [ ‘Subject’, ],
    },
    );
  4. restarted httpd
  5. rm -rf /opt/rt4/var/mason_data/obj
    6 tested by creating a ticket w/o subject and it worked. :frowning:, meaning it created a ticket without the mandatory field.

Can someone please help me with what I am missing?

Here is my resource set: RT::Extension::MandatoryOnTransition - Require core fields and ticket custom fields on status transitions - metacpan.org

I am currently using MandatorySubject instead. Doesn’t give me multiple fields, but does the most important thing.
On ticket creation in RT, you need to put a subject.