I’ve been playing with initialdata in order to script the creation of RT instances with a complex set of queues, ACLs and custom fields. I can create definitions for all of these (plus templates, scrips, etc) in a script that builds the initialdata.pm
file from external source data.
However, some of the custom fields are associated with the queues themselves (not tickets in those queues - the LookupType is RT::Queue
, not RT::Queue-RT::Ticket
). When I create the queue in initialdata.pm
, how do I instantiate the required custom field values for that queue? Is that something that should be done in @Final
or is it related to attributes?