remove unnecessary scrips and move queues to plc-template.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 25 Jun 2009 04:40:27 +0000 (04:40 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 25 Jun 2009 04:40:27 +0000 (04:40 +0000)
rt3/initialdata

index 8e917e6..d1a3255 100644 (file)
 @Queues = ({ Name              => 'support',
              Description       => 'Support',
              CorrespondAddress => 'support@PLC_RT_HOSTNAME',
-             CommentAddress    => '', },
-
-                  { Name              => 'monitor',
-             Description       => 'Queue for monitor',
-             CorrespondAddress => 'monitor@PLC_RT_HOSTNAME',
-             CommentAddress    => '', },
-
-                  { Name              => 'security',
-             Description       => 'Queue for security issues',
-             CorrespondAddress => 'security@PLC_RT_HOSTNAME',
-             CommentAddress    => '', },
-
-                  { Name              => 'legal',
-             Description       => 'Queue for legal issues',
-             CorrespondAddress => 'legal@PLC_RT_HOSTNAME',
              CommentAddress    => '', },
 
            { Name        => '___Approvals',
@@ -314,26 +299,6 @@ According to our records, your request has been resolved. If you have any
 further questions or concerns, please respond to this message.
 '
     },
-       {
-      Queue       => '0',
-      Name        => 'Create with CC in body',                 # loc
-      Description => 'Create with CC in body',                 # loc
-      Content     => 'RT-Attach-Message: yes
-
-Email Recipients (see http://PLC_RT_HOSTNAME/rt3/Ticket/Display.html?id={$Ticket->id} )
-    Owner: {$Ticket->OwnerObj->Name}
-    Requestor: {$Ticket->RequestorAddresses}
-{ if ($acc=$Ticket->AdminCcAddresses) { "    Ticket Ccs: " . $acc } }
-==================================================
-
-{$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
-Transaction: {$Transaction->Description}
-
-Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject given)"}
-
-{$Transaction->Content()}
-'
-       },
     {  Queue       => '___Approvals',
        Name        => "New Pending Approval",    # loc
        Description =>
@@ -397,37 +362,10 @@ Your ticket has been rejected by { eval { $Approval->OwnerObj->Name } }.
     {  ScripCondition => 'On Owner Change',
        ScripAction    => 'Notify Owner',
        Template       => 'Transaction' },
-    {  ScripCondition => 'On Create',
-       ScripAction    => 'AutoReply To Requestors',
-       Template       => 'AutoReply' },
-    {  ScripCondition => 'On Create',
-       ScripAction    => 'Notify AdminCcs',
-       Template       => 'Transaction' },
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify AdminCcs',
-       Template       => 'Admin Correspondence' },
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify Requestors And Ccs',
-       Template       => 'Correspondence' },
     {  ScripCondition => 'On Correspond',
        ScripAction    => 'Notify Other Recipients',
        Template       => 'Correspondence' },
-    {  ScripCondition => 'On Comment',
-       ScripAction    => 'Notify AdminCcs As Comment',
-       Template       => 'Admin Comment' },
-    {  ScripCondition => 'On Comment',
-       ScripAction    => 'Notify Other Recipients As Comment',
-       Template       => 'Correspondence' },
-    {  ScripCondition => 'On Resolve',
-       ScripAction    => 'Notify Requestors',
-       Template       => 'Resolved' },
 
-    {  ScripCondition => 'On Create',
-       ScripAction    => 'Notify AdminCcs',
-       Template       => 'Create with CC in body', },
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify Requestors, Ccs and AdminCcs',
-       Template       => 'correspondance with CC', },
     {  Description => "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval",    # loc
        Queue          => '___Approvals',
        ScripCondition => 'User Defined',