1 # Samples of all things we support in initialdata
6 CorrespondAddress => 'help@example.com',
7 CommentAddress => 'help-comment@example.com',
13 Description => 'Test Without Stage',
14 ScripCondition => 'On Resolve',
15 ScripAction => 'Notify Requestors',
16 Template => 'Correspondence in HTML',
20 Description => 'Test Without Stage and One Queue',
21 ScripCondition => 'On Resolve',
22 ScripAction => 'Notify Requestors',
23 Template => 'Correspondence in HTML',
26 Queue => ['General', 'Test Queue'],
27 Description => 'Test Without Stage and Two Queues',
28 ScripCondition => 'On Resolve',
29 ScripAction => 'Notify Requestors',
30 Template => 'Correspondence in HTML',
33 Description => 'Test TransactionCreate',
34 ScripCondition => 'On Resolve',
35 ScripAction => 'Notify Requestors',
36 Template => 'Correspondence in HTML',
37 Stage => 'TransactionCreate',
40 Description => 'Test TransactionBatch',
41 ScripCondition => 'On Resolve',
42 ScripAction => 'Notify Requestors',
43 Template => 'Correspondence in HTML',
44 Stage => 'TransactionBatch',
50 Name => 'Favorite color',
51 Type => 'FreeformSingle',
52 LookupType => 'RT::Queue-RT::Ticket',
53 Queue => 'Test Queue',
59 Name => 'Test Employees',
60 Description => 'All of the employees of my company',
63 Name => 'SavedSearch',
64 Description => 'Stalled Tickets in Test Queue',
66 Query => "Status = 'stalled' AND Queue = 'Test Queue'",
76 { GroupId => 'Test Employees',
77 GroupDomain => 'UserDefined',
78 CF => 'Favorite Color',
79 Queue => 'Test Queue',
80 Right => ['SeeCustomField', 'ModifyCustomField'],
85 Name => 'SavedSearch',
86 Description => 'New Tickets in Test Queue',
88 my $GroupName = 'Test Employees';
89 my $group = RT::Group->new( RT->SystemUser );
91 my( $ret, $msg ) = $group->LoadUserDefinedGroup( $GroupName );
97 Query => "Status = 'new' AND Queue = 'Test Queue'",