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
- Installed the extension
- Called it in the RT_SiteConfig.pm
Plugin(‘RT::Extension::MandatoryOnTransition’); - Added the configuration in the RT_SiteConfig.pm
Set( %MandatoryOnTransition,
‘’ => {
’ → create’ => [ ‘Subject’, ],
},
); - restarted httpd
- rm -rf /opt/rt4/var/mason_data/obj
6 tested by creating a ticket w/o subject and it worked. , 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