[rt-users] Callback with no TicketObject arg, guidance needed

Jeff Blaine jblaine at kickflop.net
Wed Mar 19 11:57:31 EDT 2014


> Yes -- ish.  Note that custom fields can exist on things that aren't
> tickets, and Elements/EditCustomFields is also used for them.  All
> that's promised is that $Object ISA RT::Record, so you should check
> $Object->isa("RT::Ticket") before you carry on.

Thanks!

Follow-up question if I may:

How might I exclude fields X, Y, Z from $CustomFields in my callback?

I saw in RT-Extension-MandatoryOnTransition some code for INcluding some
named fields with 'Limit'.

I'm not familiar with Limit (and hopefully its friends).

Should I just perldoc these files where 'sub Limit ' is found and start
digging around for comprehension?

./lib/RT/Articles.pm
./lib/RT/CustomFieldValues/External.pm
./lib/RT/Tickets.pm
./lib/RT/Links.pm
./lib/RT/Queues.pm
./lib/RT/Users.pm
./lib/RT/SearchBuilder.pm



More information about the rt-users mailing list