1 # Initial data for a fresh RT installation.
6 RealName => 'Enoch Root',
7 Password => 'password',
8 EmailAddress => "root\@localhost",
9 Comments => 'SuperUser',
17 @Queues = ({ Name => 'General',
18 Description => 'The default queue',
19 CorrespondAddress => "",
20 CommentAddress => "", },
21 { Name => '___Approvals',
22 Lifecycle => 'approvals',
23 Description => 'A system-internal queue for the approvals system',
28 { Name => 'Autoreply To Requestors', # loc
30 'Always sends a message to the requestors independent of message sender' , # loc
31 ExecModule => 'Autoreply',
32 Argument => 'Requestor' },
33 { Name => 'Notify Requestors', # loc
34 Description => 'Sends a message to the requestors', # loc
35 ExecModule => 'Notify',
36 Argument => 'Requestor' },
37 { Name => 'Notify Owner as Comment', # loc
38 Description => 'Sends mail to the owner', # loc
39 ExecModule => 'NotifyAsComment',
40 Argument => 'Owner' },
41 { Name => 'Notify Owner', # loc
42 Description => 'Sends mail to the owner', # loc
43 ExecModule => 'Notify',
44 Argument => 'Owner' },
45 { Name => 'Notify Ccs as Comment', # loc
46 Description => 'Sends mail to the Ccs as a comment', # loc
47 ExecModule => 'NotifyAsComment',
49 { Name => 'Notify Ccs', # loc
50 Description => 'Sends mail to the Ccs', # loc
51 ExecModule => 'Notify',
53 { Name => 'Notify AdminCcs as Comment', # loc
54 Description => 'Sends mail to the administrative Ccs as a comment', # loc
55 ExecModule => 'NotifyAsComment',
56 Argument => 'AdminCc' },
57 { Name => 'Notify AdminCcs', # loc
58 Description => 'Sends mail to the administrative Ccs', # loc
59 ExecModule => 'Notify',
60 Argument => 'AdminCc' },
61 { Name => 'Notify Owner and AdminCcs', # loc
62 Description => 'Sends mail to the Owner and administrative Ccs', # loc
63 ExecModule => 'Notify',
64 Argument => 'Owner,AdminCc' },
65 { Name => 'Notify Owner or AdminCcs', # loc
66 Description => 'Sends mail to the Owner if set, otherwise administrative Ccs', # loc
67 ExecModule => 'NotifyOwnerOrAdminCc',
69 { Name => 'Notify Requestors and Ccs as Comment', # loc
70 Description => 'Send mail to requestors and Ccs as a comment', # loc
71 ExecModule => 'NotifyAsComment',
72 Argument => 'Requestor,Cc' },
74 { Name => 'Notify Requestors and Ccs', # loc
75 Description => 'Send mail to requestors and Ccs', # loc
76 ExecModule => 'Notify',
77 Argument => 'Requestor,Cc' },
79 { Name => 'Notify Owner, Requestors, Ccs and AdminCcs as Comment', # loc
80 Description => 'Send mail to owner and all watchers as a "comment"', # loc
81 ExecModule => 'NotifyAsComment',
83 { Name => 'Notify Owner, Requestors, Ccs and AdminCcs', # loc
84 Description => 'Send mail to owner and all watchers', # loc
85 ExecModule => 'Notify',
87 { Name => 'Notify Other Recipients as Comment', # loc
88 Description => 'Sends mail to explicitly listed Ccs and Bccs', # loc
89 ExecModule => 'NotifyAsComment',
90 Argument => 'OtherRecipients' },
91 { Name => 'Notify Other Recipients', # loc
92 Description => 'Sends mail to explicitly listed Ccs and Bccs', # loc
93 ExecModule => 'Notify',
94 Argument => 'OtherRecipients' },
95 { Name => 'User Defined', # loc
96 Description => 'Perform a user-defined action', # loc
97 ExecModule => 'UserDefined', },
98 { Name => 'Create Tickets', # loc
100 'Create new tickets based on this scrip\'s template', # loc
101 ExecModule => 'CreateTickets', },
102 { Name => 'Open Tickets', # loc
103 Description => 'Open tickets on correspondence', # loc
104 ExecModule => 'AutoOpen' },
105 { Name => 'Open Inactive Tickets', # loc
106 Description => 'Open inactive tickets', # loc
107 ExecModule => 'AutoOpenInactive' },
108 { Name => 'Extract Subject Tag', # loc
109 Description => 'Extract tags from a Transaction\'s subject and add them to the Ticket\'s subject.', # loc
110 ExecModule => 'ExtractSubjectTag' },
111 { Name => 'Send Forward', # loc
112 Description => 'Send forwarded message', # loc
113 ExecModule => 'SendForward', },
117 { Name => 'On Create', # loc
118 Description => 'When a ticket is created', # loc
119 ApplicableTransTypes => 'Create',
120 ExecModule => 'AnyTransaction', },
122 { Name => 'On Transaction', # loc
123 Description => 'When anything happens', # loc
124 ApplicableTransTypes => 'Any',
125 ExecModule => 'AnyTransaction', },
128 Name => 'On Correspond', # loc
129 Description => 'Whenever correspondence comes in', # loc
130 ApplicableTransTypes => 'Correspond',
131 ExecModule => 'AnyTransaction', },
135 Name => 'On Forward', # loc
136 Description => 'Whenever a ticket or transaction is forwarded', # loc
137 ApplicableTransTypes => 'Forward Transaction,Forward Ticket',
138 ExecModule => 'AnyTransaction', },
142 Name => 'On Forward Ticket', # loc
143 Description => 'Whenever a ticket is forwarded', # loc
144 ApplicableTransTypes => 'Forward Ticket',
145 ExecModule => 'AnyTransaction', },
149 Name => 'On Forward Transaction', # loc
150 Description => 'Whenever a transaction is forwarded', # loc
151 ApplicableTransTypes => 'Forward Transaction',
152 ExecModule => 'AnyTransaction', },
156 Name => 'On Comment', # loc
157 Description => 'Whenever comments come in', # loc
158 ApplicableTransTypes => 'Comment',
159 ExecModule => 'AnyTransaction' },
162 Name => 'On Status Change', # loc
163 Description => 'Whenever a ticket\'s status changes', # loc
164 ApplicableTransTypes => 'Status',
165 ExecModule => 'AnyTransaction',
170 Name => 'On Priority Change', # loc
171 Description => 'Whenever a ticket\'s priority changes', # loc
172 ApplicableTransTypes => 'Set',
173 ExecModule => 'PriorityChange',
177 Name => 'On Owner Change', # loc
178 Description => 'Whenever a ticket\'s owner changes', # loc
179 ApplicableTransTypes => 'Any',
180 ExecModule => 'OwnerChange',
185 Name => 'On Queue Change', # loc
186 Description => 'Whenever a ticket\'s queue changes', # loc
187 ApplicableTransTypes => 'Set',
188 ExecModule => 'QueueChange',
191 { Name => 'On Resolve', # loc
192 Description => 'Whenever a ticket is resolved', # loc
193 ApplicableTransTypes => 'Status',
194 ExecModule => 'StatusChange',
195 Argument => 'resolved'
198 { Name => 'On Reject', # loc
199 Description => 'Whenever a ticket is rejected', # loc
200 ApplicableTransTypes => 'Status',
201 ExecModule => 'StatusChange',
202 Argument => 'rejected'
205 { Name => 'User Defined', # loc
206 Description => 'Whenever a user-defined condition occurs', # loc
207 ApplicableTransTypes => 'Any',
208 ExecModule => 'UserDefined'
212 { Name => 'On Close', # loc
213 Description => 'Whenever a ticket is closed', # loc
214 ApplicableTransTypes => 'Status,Set',
215 ExecModule => 'CloseTicket',
217 { Name => 'On Reopen', # loc
218 Description => 'Whenever a ticket is reopened', # loc
219 ApplicableTransTypes => 'Status,Set',
220 ExecModule => 'ReopenTicket',
227 Name => 'Blank', # loc
228 Description => 'A blank template', # loc
231 Name => 'Autoreply', # loc
232 Description => 'Plain text Autoresponse template', # loc
233 Content => 'Subject: AutoReply: {$Ticket->Subject}
238 This message has been automatically generated in response to the
239 creation of a trouble ticket regarding:
240 "{$Ticket->Subject()}",
241 a summary of which appears below.
243 There is no need to reply to this message right now. Your ticket has been
244 assigned an ID of { $Ticket->SubjectTag }.
246 Please include the string:
248 { $Ticket->SubjectTag }
250 in the subject line of all future correspondence about this issue. To do so,
251 you may reply to this message.
254 {$Ticket->QueueObj->CorrespondAddress()}
256 -------------------------------------------------------------------------
257 {$Transaction->Content()}
261 Name => 'Autoreply in HTML', # loc
262 Description => 'HTML Autoresponse template', # loc
263 Content => q[Subject: AutoReply: {$Ticket->Subject}
264 Content-Type: text/html
268 <p>This message has been automatically generated in response to the
269 creation of a trouble ticket regarding <b>{$Ticket->Subject()}</b>,
270 a summary of which appears below.</p>
272 <p>There is no need to reply to this message right now. Your ticket has been
273 assigned an ID of <b>{$Ticket->SubjectTag}</b>.</p>
275 <p>Please include the string <b>{$Ticket->SubjectTag}</b>
276 in the subject line of all future correspondence about this issue. To do so,
277 you may reply to this message.</p>
280 {$Ticket->QueueObj->CorrespondAddress()}</p>
283 {$Transaction->Content(Type => 'text/html')}
287 Name => 'Transaction', # loc
288 Description => 'Plain text transaction template', # loc
289 Content => 'RT-Attach-Message: yes
292 {$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
293 Transaction: {$Transaction->Description}
294 Queue: {$Ticket->QueueObj->Name}
295 Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject given)"}
296 Owner: {$Ticket->OwnerObj->Name}
297 Requestors: {$Ticket->RequestorAddresses}
298 Status: {$Ticket->Status}
299 Ticket <URL: {RT->Config->Get(\'WebURL\')}Ticket/Display.html?id={$Ticket->id} >
302 {$Transaction->Content()}
306 Name => 'Transaction in HTML', # loc
307 Description => 'HTML transaction template', # loc
308 Content => 'RT-Attach-Message: yes
309 Content-Type: text/html
311 <b>{$Transaction->CreatedAsString}: Request <a href="{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}">{$Ticket->id}</a> was acted upon by {$Transaction->CreatorObj->Name}.</b>
314 <tr><td align="right"><b>Transaction:</b></td><td>{$Transaction->Description}</td></tr>
315 <tr><td align="right"><b>Queue:</b></td><td>{$Ticket->QueueObj->Name}</td></tr>
316 <tr><td align="right"><b>Subject:</b></td><td>{$Transaction->Subject || $Ticket->Subject || "(No subject given)"} </td></tr>
317 <tr><td align="right"><b>Owner:</b></td><td>{$Ticket->OwnerObj->Name}</td></tr>
318 <tr><td align="right"><b>Requestors:</b></td><td>{$Ticket->RequestorAddresses}</td></tr>
319 <tr><td align="right"><b>Status:</b></td><td>{$Ticket->Status}</td></tr>
320 <tr><td align="right"><b>Ticket URL:</b></td><td><a href="{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}">{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}</a></td></tr>
324 {$Transaction->Content( Type => "text/html")}
327 # Shadow the global templates of the same name to suppress duplicate
328 # notifications until rules is ripped out.
329 { Queue => "___Approvals",
330 Name => "Transaction in HTML",
333 { Queue => "___Approvals",
334 Name => "Transaction",
340 Name => 'Admin Correspondence', # loc
341 Description => 'Plain text admin correspondence template', # loc
342 Content => 'RT-Attach-Message: yes
345 <URL: {RT->Config->Get(\'WebURL\')}Ticket/Display.html?id={$Ticket->id} >
347 {$Transaction->Content()}
351 Name => 'Admin Correspondence in HTML', # loc
352 Description => 'HTML admin correspondence template', # loc
353 Content => 'RT-Attach-Message: yes
354 Content-Type: text/html
356 Ticket URL: <a href="{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}">{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}</a>
359 {$Transaction->Content(Type => "text/html");}
363 Name => 'Correspondence', # loc
364 Description => 'Plain text correspondence template', # loc
365 Content => 'RT-Attach-Message: yes
367 {$Transaction->Content()}
371 Name => 'Correspondence in HTML', # loc
372 Description => 'HTML correspondence template', # loc
373 Content => 'RT-Attach-Message: yes
374 Content-Type: text/html
376 {$Transaction->Content( Type => "text/html")}
380 Name => 'Admin Comment', # loc
381 Description => 'Plain text admin comment template', # loc
383 'Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject||""); $s =~ s/\\[Comment\\]\\s*//g; $s =~ s/^Re:\\s*//i; $s;}
384 RT-Attach-Message: yes
387 {RT->Config->Get(\'WebURL\')}Ticket/Display.html?id={$Ticket->id}
388 This is a comment. It is not sent to the Requestor(s):
390 {$Transaction->Content()}
394 Name => 'Admin Comment in HTML', # loc
395 Description => 'HTML admin comment template', # loc
397 'Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject||""); $s =~ s/\\[Comment\\]\\s*//g; $s =~ s/^Re:\\s*//i; $s;}
398 RT-Attach-Message: yes
399 Content-Type: text/html
401 <p>This is a comment about <a href="{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}">ticket {$Ticket->id}</a>. It is not sent to the Requestor(s):</p>
403 {$Transaction->Content(Type => "text/html")}
407 Name => 'Reminder', # loc
408 Description => 'Default reminder template', # loc
410 'Subject:{$Ticket->Subject} is due {$Ticket->DueObj->AsString}
412 This reminder is for ticket #{$Target = $Ticket->RefersTo->First->TargetObj;$Target->Id}.
414 {RT->Config->Get(\'WebURL\')}Ticket/Display.html?id={$Target->Id}
419 Name => 'Status Change', # loc
420 Description => 'Ticket status changed', # loc
421 Content => 'Subject: Status Changed to: {$Transaction->NewValue}
424 {RT->Config->Get(\'WebURL\')}Ticket/Display.html?id={$Ticket->id}
426 {$Transaction->Content()}
430 Name => 'Status Change in HTML', # loc
431 Description => 'HTML Ticket status changed', # loc
432 Content => 'Subject: Status Changed to: {$Transaction->NewValue}
433 Content-Type: text/html
435 <a href="{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}">{RT->Config->Get("WebURL")}Ticket/Display.html?id={$Ticket->id}</a>
438 {$Transaction->Content(Type => "text/html")}
444 Name => 'Resolved', # loc
445 Description => 'Ticket Resolved', # loc
446 Content => 'Subject: Resolved: {$Ticket->Subject}
448 According to our records, your request has been resolved. If you have any
449 further questions or concerns, please respond to this message.
453 Name => 'Resolved in HTML', # loc
454 Description => 'HTML Ticket Resolved', # loc
455 Content => 'Subject: Resolved: {$Ticket->Subject}
456 Content-Type: text/html
458 <p>According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.</p>
461 { Queue => '___Approvals',
462 Name => "New Pending Approval", # loc
464 "Notify Owners and AdminCcs of new items pending their approval", # loc
465 Content => 'Subject: New Pending Approval: {$Ticket->Subject}
469 There is a new item pending your approval: "{$Ticket->Subject()}",
470 a summary of which appears below.
472 Please visit {RT->Config->Get(\'WebURL\')}Approvals/Display.html?id={$Ticket->id}
473 to approve or reject this ticket, or {RT->Config->Get(\'WebURL\')}Approvals/ to
474 batch-process all your pending approvals.
476 -------------------------------------------------------------------------
477 {$Transaction->Content()}
480 { Queue => '___Approvals',
481 Name => "New Pending Approval in HTML", # loc
482 Description => "Notify Owners and AdminCcs of new items pending their approval", # loc
483 Content => 'Subject: New Pending Approval: {$Ticket->Subject}
484 Content-Type: text/html
488 <p>There is a new item pending your approval: <b>{$Ticket->Subject()}</b>,
489 a summary of which appears below.</p>
491 <p>Please <a href="{RT->Config->Get(\'WebURL\')}Approvals/Display.html?id={$Ticket->id}">approve
492 or reject this ticket</a>, or visit the <a href="{RT->Config->Get(\'WebURL\')}Approvals/">approvals
493 overview</a> to batch-process all your pending approvals.</p>
496 {$Transaction->Content()}
499 { Queue => '___Approvals',
500 Name => "Approval Passed", # loc
502 "Notify Requestor of their ticket has been approved by some approver", # loc
503 Content => 'Subject: Ticket Approved: {$Ticket->Subject}
507 Your ticket has been approved by { eval { $Approver->Name } }.
508 Other approvals may be pending.
510 Approver\'s notes: { $Notes }
513 { Queue => '___Approvals',
514 Name => "Approval Passed in HTML", # loc
516 "Notify Requestor of their ticket has been approved by some approver", # loc
517 Content => 'Subject: Ticket Approved: {$Ticket->Subject}
518 Content-Type: text/html
522 <p>Your ticket has been approved by <b>{ eval { $Approver->Name } }</b>.
523 Other approvals may be pending.</p>
525 <p>Approver\'s notes:</p>
526 <blockquote>{ $Notes }</blockquote>
529 { Queue => '___Approvals',
530 Name => "All Approvals Passed", # loc
532 "Notify Requestor of their ticket has been approved by all approvers", # loc
533 Content => 'Subject: Ticket Approved: {$Ticket->Subject}
537 Your ticket has been approved by { eval { $Approver->Name } }.
538 Its Owner may now start to act on it.
540 Approver\'s notes: { $Notes }
543 { Queue => '___Approvals',
544 Name => "All Approvals Passed in HTML", # loc
546 "Notify Requestor of their ticket has been approved by all approvers", # loc
547 Content => 'Subject: Ticket Approved: {$Ticket->Subject}
548 Content-Type: text/html
552 <p>Your ticket has been approved by <b>{ eval { $Approver->Name } }</b>.
553 Its Owner may now start to act on it.</p>
555 <p>Approver\'s notes:</p>
556 <blockquote>{ $Notes }</blockquote>
559 { Queue => '___Approvals',
560 Name => "Approval Rejected", # loc
562 "Notify Owner of their rejected ticket", # loc
563 Content => 'Subject: Ticket Rejected: {$Ticket->Subject}
567 Your ticket has been rejected by { eval { $Approver->Name } }.
569 Approver\'s notes: { $Notes }
572 { Queue => '___Approvals',
573 Name => "Approval Rejected in HTML", # loc
575 "Notify Owner of their rejected ticket", # loc
576 Content => 'Subject: Ticket Rejected: {$Ticket->Subject}
577 Content-Type: text/html
581 <p>Your ticket has been rejected by <b>{ eval { $Approver->Name } }</b>.</p>
583 <p>Approver\'s notes:</p>
584 <blockquote>{ $Notes }</blockquote>
587 { Queue => '___Approvals',
588 Name => "Approval Ready for Owner", # loc
590 "Notify Owner of their ticket has been approved and is ready to be acted on", # loc
591 Content => 'Subject: Ticket Approved: {$Ticket->Subject}
595 The ticket has been approved, you may now start to act on it.
599 { Queue => '___Approvals',
600 Name => "Approval Ready for Owner in HTML", # loc
602 "Notify Owner of their ticket has been approved and is ready to be acted on", # loc
603 Content => 'Subject: Ticket Approved: {$Ticket->Subject}
604 Content-Type: text/html
608 <p>The ticket has been approved, you may now start to act on it.</p>
613 Name => "Forward", # loc
614 Description => "Forwarded message", # loc
617 { $ForwardTransaction->Content =~ /\S/ ? $ForwardTransaction->Content : "This is a forward of transaction #".$Transaction->id." of ticket #". $Ticket->id }
621 Name => "Forward Ticket", # loc
622 Description => "Forwarded ticket message", # loc
625 { $ForwardTransaction->Content =~ /\S/ ? $ForwardTransaction->Content : "This is a forward of ticket #". $Ticket->id }
629 Name => "Error: unencrypted message", # loc
631 "Inform user that their unencrypted mail has been rejected", # loc
632 Content => q{Subject: RT requires that all incoming mail be encrypted
634 You received this message because RT received mail from you that was not encrypted. As such, it has been rejected.
638 Name => "Error: public key", # loc
640 "Inform user that he has problems with public key and couldn't recieve encrypted content", # loc
641 Content => q{Subject: We have no your public key or it's wrong
643 You received this message as we have no your public PGP key or we have a problem with your key. Inform the administrator about the problem.
647 Name => "Error to RT owner: public key", # loc
649 "Inform RT owner that user(s) have problems with public keys", # loc
650 Content => q{Subject: Some users have problems with public keys
652 You received this message as RT has problems with public keys of the following user:
654 foreach my $e ( @BadRecipients ) {
655 $OUT .= "* ". $e->{'Message'} ."\n";
660 Name => "Error: no private key", # loc
662 "Inform user that we received an encrypted email and we have no private keys to decrypt", # loc
663 Content => q{Subject: we received message we cannot decrypt
665 You sent an encrypted message with subject '{ $Message->head->get('Subject') }',
666 but we have no private key it's encrypted to.
668 Please, check that you encrypt messages with correct keys
669 or contact the system administrator.}
672 Name => "Error: bad encrypted data", # loc
674 "Inform user that a message he sent has invalid encryption data", # loc
675 Content => q{Subject: We received a message we cannot handle
677 You sent us a message that we cannot handle due to corrupted signature or encrypted block. we get the following error(s):
678 { foreach my $msg ( @Messages ) {
684 Name => "PasswordChange", # loc
686 "Inform user that his password has been reset", # loc
687 Content => q{Subject: [{RT->Config->Get('rtname')}] Password reset
691 Someone at {$ENV{'REMOTE_ADDR'}} requested a password reset for you on {RT->Config->Get('WebURL')}
693 Your new password is:
699 Name => 'Email Digest', # loc
700 Description => 'Email template for periodic notification digests', # loc
701 Content => q[Subject: RT Email Digest
709 Name => "Error: Missing dashboard", # loc
711 "Inform user that a dashboard he subscribed to is missing", # loc
712 Content => q{Subject: [{RT->Config->Get('rtname')}] Missing dashboard!
716 You are subscribed to a dashboard that is currently missing. Most likely, the dashboard was deleted.
718 RT will remove this subscription as it is no longer useful. Here's the information RT had about your subscription:
720 DashboardID: { $SubscriptionObj->SubValue('DashboardId') }
721 Frequency: { $SubscriptionObj->SubValue('Frequency') }
722 Hour: { $SubscriptionObj->SubValue('Hour') }
724 $SubscriptionObj->SubValue('Frequency') eq 'weekly'
725 ? "Day of week: " . $SubscriptionObj->SubValue('Dow')
726 : $SubscriptionObj->SubValue('Frequency') eq 'monthly'
727 ? "Day of month: " . $SubscriptionObj->SubValue('Dom')
735 { Description => 'On Comment Notify AdminCcs as Comment',
736 ScripCondition => 'On Comment',
737 ScripAction => 'Notify AdminCcs As Comment',
738 Template => 'Admin Comment in HTML' },
739 { Description => 'On Comment Notify Other Recipients as Comment',
740 ScripCondition => 'On Comment',
741 ScripAction => 'Notify Other Recipients As Comment',
742 Template => 'Correspondence in HTML' },
743 { Description => 'On Correspond Notify Owner and AdminCcs',
744 ScripCondition => 'On Correspond',
745 ScripAction => 'Notify Owner and AdminCcs',
746 Template => 'Admin Correspondence in HTML' },
747 { Description => 'On Correspond Notify Other Recipients',
748 ScripCondition => 'On Correspond',
749 ScripAction => 'Notify Other Recipients',
750 Template => 'Correspondence in HTML' },
751 { Description => 'On Correspond Notify Requestors and Ccs',
752 ScripCondition => 'On Correspond',
753 ScripAction => 'Notify Requestors And Ccs',
754 Template => 'Correspondence in HTML' },
755 { Description => 'On Correspond Open Inactive Tickets',
756 ScripCondition => 'On Correspond',
757 ScripAction => 'Open Inactive Tickets',
758 Template => 'Blank' },
759 { Description => 'On Create Autoreply To Requestors',
760 ScripCondition => 'On Create',
761 ScripAction => 'AutoReply To Requestors',
762 Template => 'AutoReply in HTML' },
763 { Description => 'On Create Notify Owner and AdminCcs',
764 ScripCondition => 'On Create',
765 ScripAction => 'Notify Owner and AdminCcs',
766 Template => 'Transaction in HTML' },
767 { Description => 'On Create Notify Ccs',
768 ScripCondition => 'On Create',
769 ScripAction => 'Notify Ccs',
770 Template => 'Correspondence in HTML' },
771 { Description => 'On Create Notify Other Recipients',
772 ScripCondition => 'On Create',
773 ScripAction => 'Notify Other Recipients',
774 Template => 'Correspondence in HTML' },
775 { Description => 'On Owner Change Notify Owner',
776 ScripCondition => 'On Owner Change',
777 ScripAction => 'Notify Owner',
778 Template => 'Transaction in HTML' },
779 { Description => 'On Resolve Notify Requestors',
780 ScripCondition => 'On Resolve',
781 ScripAction => 'Notify Requestors',
782 Template => 'Resolved in HTML' },
783 { Description => "On transaction, add any tags in the transaction's subject to the ticket's subject",
784 ScripCondition => 'On Transaction',
785 ScripAction => 'Extract Subject Tag',
786 Template => 'Blank' },
787 { Description => 'On Forward Transaction Send forwarded message',
788 ScripCondition => 'On Forward Transaction',
789 ScripAction => 'Send Forward',
790 Template => 'Forward' },
791 { Description => 'On Forward Ticket Send forwarded message',
792 ScripCondition => 'On Forward Ticket',
793 ScripAction => 'Send Forward',
794 Template => 'Forward Ticket' },
798 { UserId => 'root', # - principalid
799 Right => 'SuperUser', },
801 { GroupDomain => 'SystemInternal',
802 GroupType => 'privileged',
803 Right => 'ShowApprovalsTab', },
807 # Predefined searches
810 { Name => 'Search - My Tickets',
811 Description => '[_1] highest priority tickets I own', # loc
813 { Format => q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#',}
814 . q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a>/TITLE:Subject',}
815 . q{Priority, QueueName, ExtendedStatus},
816 Query => " Owner = '__CurrentUser__' AND ( Status = 'new' OR Status = 'open')",
817 OrderBy => 'Priority',
821 { Name => 'Search - Unowned Tickets',
822 Description => '[_1] newest unowned tickets', # loc
825 { Format => q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#',}
826 . q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a>/TITLE:Subject',}
827 . q{QueueName, ExtendedStatus, CreatedRelative, }
828 . q{'<A HREF="__WebPath__/Ticket/Display.html?Action=Take&id=__id__">__loc(Take)__</a>/TITLE:NBSP'},
829 Query => " Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open')",
830 OrderBy => 'Created',
834 { Name => 'Search - Bookmarked Tickets',
835 Description => 'Bookmarked Tickets', #loc
837 { Format => q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#',}
838 . q{'<a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a>/TITLE:Subject',}
839 . q{Priority, QueueName, ExtendedStatus, Bookmark},
840 Query => "id = '__Bookmarked__'",
841 OrderBy => 'LastUpdated',
845 Name => 'HomepageSettings',
846 Description => 'HomepageSettings',
848 'body' => # loc_left_pair
852 name => 'My Tickets', # loc
856 name => 'Unowned Tickets' # loc
860 name => 'Bookmarked Tickets' # loc
864 name => 'QuickCreate' # loc
867 'sidebar' => # loc_left_pair
871 name => 'MyReminders' # loc
875 name => 'Quicksearch' # loc
879 name => 'Dashboards' # loc
883 name => 'RefreshHomepage' # loc