Patch to add attributes to queues and cf's in initialdata

This patch modifies, it allows you to specify attributes on
a queue or cf when defining it in initialdata.


@CustomFields = (
Name => ‘MyField’,

Attributes => [
Name => MyAttribute,
Content => CONTENT

Syntax is identical in @Queues.

Under the hood it simply waits until the field/queue are generated, then
pushes your attributes into the @Attributes array w/ Object => ‘newly
created object’ added. Since @Attributes is processed later this works
as desired, and attributes are all processed in just the one place.

-Chad Granum

OpenSourcery (

rt-item-attributes.patch (1.49 KB)

signature.asc (252 Bytes)