{ Name => 'root',
Gecos => 'root',
- RealName => 'Enoch Root',
+ RealName => 'RT Admin',
Password => 'password',
EmailAddress => "root\@localhost",
Comments => 'SuperUser',
}, );
@Queues = ({ Name => 'support',
- Description => 'Queue for general issues',
+ Description => 'Support',
CorrespondAddress => 'support@PLC_RT_HOSTNAME',
CommentAddress => '', },
CorrespondAddress => 'legal@PLC_RT_HOSTNAME',
CommentAddress => '', },
- { Name => 'General',
- Description => 'The default queue',
- CorrespondAddress => "",
- CommentAddress => "", },
-
{ Name => '___Approvals',
Description => 'A system-internal queue for the approvals system',
Disabled => 2, } );
Description => 'Default Autoresponse template', # loc
Content => 'Subject: AutoReply: {$Ticket->Subject}
+Hello,
-Greetings,
+Thank you very much for reporting this.
-This message has been automatically generated in response to the
+This message was automatically generated in response to the
creation of a trouble ticket regarding:
- "{$Ticket->Subject()}",
-a summary of which appears below.
+
+ "{$Ticket->Subject()}"
There is no need to reply to this message right now. Your ticket has been
assigned an ID of [{$rtname} #{$Ticket->id()}].
Please include the string:
- [{$rtname} #{$Ticket->id}]
+ [{$rtname} #{$Ticket->id}]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
- Thank you,
- {$Ticket->QueueObj->CorrespondAddress()}
+Thank you,
+{$Ticket->QueueObj->CorrespondAddress()}
+{$Ticket->AddCustomFieldValue(Field => 'Problem Category', Value => 'Trivial');}
-------------------------------------------------------------------------
{$Transaction->Content()}
further questions or concerns, please respond to this message.
'
},
+ {
+ Queue => '0',
+ Name => 'correspondance with CC', # loc
+ Description => 'Message with the recipients in the header', # 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->Content()}
+'
+ },
+ {
+ 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 =>
{ ScripCondition => 'On Resolve',
ScripAction => 'Notify Requestors',
Template => 'Resolved' },
+ #On Create Autoreply To Requestors with template Autoreply
+ #On Correspond Notify Requestors, Ccs and AdminCcs with template correspondance with CC
+ #On Create Notify AdminCcs with template Create with CC in body
+
+ { 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',