Skip to content

Instantly share code, notes, and snippets.

@sartak
Last active March 21, 2017 16:58
Show Gist options
  • Save sartak/e24a628773c63387cfd743a5c85b0b2e to your computer and use it in GitHub Desktop.
Save sartak/e24a628773c63387cfd743a5c85b0b2e to your computer and use it in GitHub Desktop.
{
"ACL" : [
{
"GroupDomain" : "SystemInternal",
"GroupType" : "Privileged",
"ObjectId" : 1,
"ObjectType" : "RT::System",
"PrincipalType" : "Group",
"RightName" : "ShowApprovalsTab"
},
{
"ObjectId" : 1,
"ObjectType" : "RT::System",
"PrincipalType" : "Group",
"RightName" : "SuperUser",
"UserId" : "RT_System"
},
{
"ObjectId" : 1,
"ObjectType" : "RT::System",
"PrincipalType" : "Group",
"RightName" : "OwnTicket",
"UserId" : "Nobody"
},
{
"ObjectId" : 1,
"ObjectType" : "RT::System",
"PrincipalType" : "Group",
"RightName" : "SuperUser",
"UserId" : "root"
}
],
"Catalogs" : [
{
"Description" : "The default catalog",
"Lifecycle" : "assets",
"Name" : "General assets"
}
],
"Classes" : [
{
"ApplyTo" : [
0
],
"Description" : "The default class",
"HotList" : 1,
"Name" : "General",
"SortOrder" : 0
}
],
"CustomFields" : [
{
"ApplyTo" : [
0
],
"Description" : "Content",
"EntryHint" : "Fill in one text area",
"LookupType" : "RT::Class-RT::Article",
"MaxValues" : 1,
"Name" : "Content",
"SortOrder" : 0,
"Type" : "Text"
}
],
"Groups" : [
{
"Description" : "Pseudogroup for internal use",
"Domain" : "SystemInternal",
"Name" : "Everyone"
},
{
"Description" : "Pseudogroup for internal use",
"Domain" : "SystemInternal",
"Name" : "Privileged"
},
{
"Domain" : "RT::System-Role",
"Instance" : 1,
"Name" : "AdminCc"
},
{
"Domain" : "RT::System-Role",
"Instance" : 1,
"Name" : "Owner"
},
{
"Domain" : "RT::System-Role",
"Instance" : 1,
"Name" : "Requestor"
},
{
"Description" : "Pseudogroup for internal use",
"Domain" : "SystemInternal",
"Name" : "Unprivileged"
},
{
"Domain" : "RT::System-Role",
"Instance" : 1,
"Name" : "HeldBy"
},
{
"Domain" : "RT::System-Role",
"Instance" : 1,
"Name" : "Cc"
},
{
"Domain" : "RT::System-Role",
"Instance" : 1,
"Name" : "Contact"
}
],
"Queues" : [
{
"CommentAddress" : "",
"CorrespondAddress" : "",
"Description" : "The default queue",
"Lifecycle" : "default",
"Name" : "General",
"SLADisabled" : 1,
"SortOrder" : 0
},
{
"CommentAddress" : "",
"CorrespondAddress" : "",
"Description" : "A system-internal queue for the approvals system",
"Disabled" : 2,
"Lifecycle" : "approvals",
"Name" : "___Approvals",
"SLADisabled" : 1,
"SortOrder" : 0
}
],
"ScripActions" : [
{
"Argument" : "All",
"Description" : "Send mail to owner and all watchers as a \"comment\"",
"ExecModule" : "NotifyAsComment",
"Name" : "Notify Owner, Requestors, Ccs and AdminCcs as Comment"
},
{
"Argument" : "Cc",
"Description" : "Sends mail to the Ccs as a comment",
"ExecModule" : "NotifyAsComment",
"Name" : "Notify Ccs as Comment"
},
{
"Description" : "Update Parent TimeWorked",
"ExecModule" : "UpdateParentTimeWorked",
"Name" : "Update Parent TimeWorked"
},
{
"Argument" : "Requestor",
"Description" : "Always sends a message to the requestors independent of message sender",
"ExecModule" : "Autoreply",
"Name" : "Autoreply To Requestors"
},
{
"Argument" : "OtherRecipients",
"Description" : "Sends mail to explicitly listed Ccs and Bccs",
"ExecModule" : "Notify",
"Name" : "Notify Other Recipients"
},
{
"Argument" : "Cc",
"Description" : "Sends mail to the Ccs",
"ExecModule" : "Notify",
"Name" : "Notify Ccs"
},
{
"Description" : "Open inactive tickets",
"ExecModule" : "AutoOpenInactive",
"Name" : "Open Inactive Tickets"
},
{
"Argument" : "AdminCc",
"Description" : "Sends mail to the administrative Ccs",
"ExecModule" : "Notify",
"Name" : "Notify AdminCcs"
},
{
"Argument" : "Owner,AdminCc",
"Description" : "Sends mail to the Owner and administrative Ccs",
"ExecModule" : "Notify",
"Name" : "Notify Owner and AdminCcs"
},
{
"Argument" : "Owner",
"Description" : "Sends mail to the owner",
"ExecModule" : "Notify",
"Name" : "Notify Owner"
},
{
"Argument" : "AdminCc",
"Description" : "Sends mail to the administrative Ccs as a comment",
"ExecModule" : "NotifyAsComment",
"Name" : "Notify AdminCcs as Comment"
},
{
"Description" : "Sends mail to the Owner if set, otherwise administrative Ccs",
"ExecModule" : "NotifyOwnerOrAdminCc",
"Name" : "Notify Owner or AdminCcs"
},
{
"Argument" : "All",
"Description" : "Send mail to owner and all watchers",
"ExecModule" : "Notify",
"Name" : "Notify Owner, Requestors, Ccs and AdminCcs"
},
{
"Description" : "Send forwarded message",
"ExecModule" : "SendForward",
"Name" : "Send Forward"
},
{
"Description" : "Perform a user-defined action",
"ExecModule" : "UserDefined",
"Name" : "User Defined"
},
{
"Argument" : "Requestor,Cc",
"Description" : "Send mail to requestors and Ccs as a comment",
"ExecModule" : "NotifyAsComment",
"Name" : "Notify Requestors and Ccs as Comment"
},
{
"Argument" : "Owner",
"Description" : "Sends mail to the owner",
"ExecModule" : "NotifyAsComment",
"Name" : "Notify Owner as Comment"
},
{
"Description" : "Set the due date according to an agreement",
"ExecModule" : "SLA_SetDue",
"Name" : "Set due date according to SLA"
},
{
"Argument" : "OtherRecipients",
"Description" : "Sends mail to explicitly listed Ccs and Bccs",
"ExecModule" : "NotifyAsComment",
"Name" : "Notify Other Recipients as Comment"
},
{
"Description" : "Create new tickets based on this scrip's template",
"ExecModule" : "CreateTickets",
"Name" : "Create Tickets"
},
{
"Description" : "Extract tags from a Transaction's subject and add them to the Ticket's subject.",
"ExecModule" : "ExtractSubjectTag",
"Name" : "Extract Subject Tag"
},
{
"Argument" : "Requestor",
"Description" : "Sends a message to the requestors",
"ExecModule" : "Notify",
"Name" : "Notify Requestors"
},
{
"Description" : "Update User TimeWorked",
"ExecModule" : "UpdateUserTimeWorked",
"Name" : "Update User TimeWorked"
},
{
"Argument" : "Requestor,Cc",
"Description" : "Send mail to requestors and Ccs",
"ExecModule" : "Notify",
"Name" : "Notify Requestors and Ccs"
},
{
"Description" : "Open tickets on correspondence",
"ExecModule" : "AutoOpen",
"Name" : "Open Tickets"
},
{
"Description" : "Set the starts date according to an agreement",
"ExecModule" : "SLA_SetStarts",
"Name" : "Set starts date according to SLA"
}
],
"ScripConditions" : [
{
"ApplicableTransTypes" : "Status",
"Description" : "Whenever a ticket's status changes",
"ExecModule" : "AnyTransaction",
"Name" : "On Status Change"
},
{
"ApplicableTransTypes" : "Status",
"Argument" : "resolved",
"Description" : "Whenever a ticket is resolved",
"ExecModule" : "StatusChange",
"Name" : "On Resolve"
},
{
"ApplicableTransTypes" : "Create,Correspond,Set,Status",
"Description" : "Detect a situation when we should set Due date",
"ExecModule" : "SLA_RequireDueSet",
"Name" : "Require Due set according to SLA"
},
{
"ApplicableTransTypes" : "Comment",
"Description" : "Whenever comments come in",
"ExecModule" : "AnyTransaction",
"Name" : "On Comment"
},
{
"ApplicableTransTypes" : "Create,Set",
"Description" : "Detect a situation when we should set Starts date",
"ExecModule" : "SLA_RequireStartsSet",
"Name" : "Require Starts set according to SLA"
},
{
"ApplicableTransTypes" : "Create",
"Description" : "When a ticket is created",
"ExecModule" : "AnyTransaction",
"Name" : "On Create"
},
{
"ApplicableTransTypes" : "Status,Set",
"Description" : "Whenever a ticket is closed",
"ExecModule" : "CloseTicket",
"Name" : "On Close"
},
{
"ApplicableTransTypes" : "Forward Transaction",
"Description" : "Whenever a transaction is forwarded",
"ExecModule" : "AnyTransaction",
"Name" : "On Forward Transaction"
},
{
"ApplicableTransTypes" : "Any",
"Description" : "Whenever a user-defined condition occurs",
"ExecModule" : "UserDefined",
"Name" : "User Defined"
},
{
"ApplicableTransTypes" : "Set",
"Description" : "Whenever a ticket's priority changes",
"ExecModule" : "PriorityChange",
"Name" : "On Priority Change"
},
{
"ApplicableTransTypes" : "Status",
"Argument" : "rejected",
"Description" : "Whenever a ticket is rejected",
"ExecModule" : "StatusChange",
"Name" : "On Reject"
},
{
"ApplicableTransTypes" : "Correspond",
"Description" : "Whenever correspondence comes in",
"ExecModule" : "AnyTransaction",
"Name" : "On Correspond"
},
{
"ApplicableTransTypes" : "Any",
"Description" : "When anything happens",
"ExecModule" : "AnyTransaction",
"Name" : "On Transaction"
},
{
"ApplicableTransTypes" : "Forward Ticket",
"Description" : "Whenever a ticket is forwarded",
"ExecModule" : "AnyTransaction",
"Name" : "On Forward Ticket"
},
{
"ApplicableTransTypes" : "Any",
"Description" : "Whenever a ticket's owner changes",
"ExecModule" : "OwnerChange",
"Name" : "On Owner Change"
},
{
"ApplicableTransTypes" : "Any",
"Description" : "When TimeWorked Change",
"ExecModule" : "TimeWorkedChange",
"Name" : "On TimeWorked Change"
},
{
"ApplicableTransTypes" : "Forward Transaction,Forward Ticket",
"Description" : "Whenever a ticket or transaction is forwarded",
"ExecModule" : "AnyTransaction",
"Name" : "On Forward"
},
{
"ApplicableTransTypes" : "Set",
"Description" : "Whenever a ticket's queue changes",
"ExecModule" : "QueueChange",
"Name" : "On Queue Change"
},
{
"ApplicableTransTypes" : "Status,Set",
"Description" : "Whenever a ticket is reopened",
"ExecModule" : "ReopenTicket",
"Name" : "On Reopen"
}
],
"Scrips" : [
{
"Description" : "On Comment Notify Other Recipients as Comment",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 1,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Other Recipients as Comment",
"ScripCondition" : "On Comment",
"Template" : "Correspondence in HTML"
},
{
"Description" : "On Create Autoreply To Requestors",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 6,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Autoreply To Requestors",
"ScripCondition" : "On Create",
"Template" : "Autoreply in HTML"
},
{
"Description" : "Set starts date if needed according to SLA",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 15,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Set starts date according to SLA",
"ScripCondition" : "Require Starts set according to SLA",
"Template" : "Blank"
},
{
"Description" : "On Correspond Notify Requestors and Ccs",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 4,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Requestors and Ccs",
"ScripCondition" : "On Correspond",
"Template" : "Correspondence in HTML"
},
{
"Description" : "On Correspond Open Inactive Tickets",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 5,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Open Inactive Tickets",
"ScripCondition" : "On Correspond",
"Template" : "Blank"
},
{
"Description" : "On Resolve Notify Requestors",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 11,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Requestors",
"ScripCondition" : "On Resolve",
"Template" : "Resolved in HTML"
},
{
"Description" : "On transaction, add any tags in the transaction's subject to the ticket's subject",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 12,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Extract Subject Tag",
"ScripCondition" : "On Transaction",
"Template" : "Blank"
},
{
"Description" : "On Forward Ticket Send forwarded message",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 14,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Send Forward",
"ScripCondition" : "On Forward Ticket",
"Template" : "Forward Ticket"
},
{
"Description" : "Set due date if needed according to SLA",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 16,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Set due date according to SLA",
"ScripCondition" : "Require Due set according to SLA",
"Template" : "Blank"
},
{
"Description" : "On Create Notify Other Recipients",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 9,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Other Recipients",
"ScripCondition" : "On Create",
"Template" : "Correspondence in HTML"
},
{
"Description" : "On TimeWorked Change Update User TimeWorked",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 18,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Update User TimeWorked",
"ScripCondition" : "On TimeWorked Change",
"Template" : "Blank"
},
{
"Description" : "On Correspond Notify Other Recipients",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 3,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Other Recipients",
"ScripCondition" : "On Correspond",
"Template" : "Correspondence in HTML"
},
{
"Description" : "On Owner Change Notify Owner",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 10,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Owner",
"ScripCondition" : "On Owner Change",
"Template" : "Transaction in HTML"
},
{
"Description" : "On Forward Transaction Send forwarded message",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 13,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Send Forward",
"ScripCondition" : "On Forward Transaction",
"Template" : "Forward"
},
{
"Description" : "On Correspond Notify Owner and AdminCcs",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 2,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Owner and AdminCcs",
"ScripCondition" : "On Correspond",
"Template" : "Admin Correspondence in HTML"
},
{
"Description" : "On TimeWorked Change Update Parent TimeWorked",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 17,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Update Parent TimeWorked",
"ScripCondition" : "On TimeWorked Change",
"Template" : "Blank"
},
{
"Description" : "On Comment Notify AdminCcs as Comment",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 0,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify AdminCcs as Comment",
"ScripCondition" : "On Comment",
"Template" : "Admin Comment in HTML"
},
{
"Description" : "On Create Notify Ccs",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 8,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Ccs",
"ScripCondition" : "On Create",
"Template" : "Correspondence in HTML"
},
{
"Description" : "On Create Notify Owner and AdminCcs",
"Queue" : [
{
"ObjectId" : 0,
"SortOrder" : 7,
"Stage" : "TransactionCreate"
}
],
"ScripAction" : "Notify Owner and AdminCcs",
"ScripCondition" : "On Create",
"Template" : "Transaction in HTML"
}
],
"Templates" : [
{
"Content" : "",
"Description" : "[no description]",
"Name" : "Transaction",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: RT requires that all incoming mail be encrypted\n\nYou received this message because RT received mail from you that was not encrypted. As such, it has been rejected.\n",
"Description" : "Inform user that their unencrypted mail has been rejected",
"Name" : "Error: unencrypted message",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: New Pending Approval: {$Ticket->Subject}\n\nGreetings,\n\nThere is a new item pending your approval: \"{$Ticket->Subject()}\", \na summary of which appears below.\n\nPlease visit {RT->Config->Get('WebURL')}Approvals/Display.html?id={$Ticket->id}\nto approve or reject this ticket, or {RT->Config->Get('WebURL')}Approvals/ to\nbatch-process all your pending approvals.\n\n-------------------------------------------------------------------------\n{$Transaction->Content()}\n",
"Description" : "Notify Owners and AdminCcs of new items pending their approval",
"Name" : "New Pending Approval",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: Some users have problems with public keys\n\nYou received this message as RT has problems with public keys of the following user:\n{\n foreach my $e ( @BadRecipients ) {\n $OUT .= \"* \". $e->{'Message'} .\"\\n\";\n }\n}",
"Description" : "Inform RT owner that user(s) have problems with public keys",
"Name" : "Error to RT owner: public key",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: AutoReply: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>Greetings,</p>\n\n<p>This message has been automatically generated in response to the\ncreation of a trouble ticket regarding <b>{$Ticket->Subject()}</b>,\na summary of which appears below.</p>\n\n<p>There is no need to reply to this message right now. Your ticket has been\nassigned an ID of <b>{$Ticket->SubjectTag}</b>.</p>\n\n<p>Please include the string <b>{$Ticket->SubjectTag}</b>\nin the subject line of all future correspondence about this issue. To do so,\nyou may reply to this message.</p>\n\n<p>Thank you,<br/>\n{$Ticket->QueueObj->CorrespondAddress()}</p>\n\n<hr/>\n{$Transaction->Content(Type => 'text/html')}\n",
"Description" : "HTML Autoresponse template",
"Name" : "Autoreply in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: [{RT->Config->Get('rtname')}] Password reset\n\nGreetings,\n\nSomeone at {$ENV{'REMOTE_ADDR'}} requested a password reset for you on {RT->Config->Get('WebURL')}\n\nYour new password is:\n {$NewPassword}\n",
"Description" : "Inform user that his password has been reset",
"Name" : "PasswordChange",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Approved: {$Ticket->Subject}\n\nGreetings,\n\nYour ticket has been approved by { eval { $Approver->Name } }.\nIts Owner may now start to act on it.\n\nApprover's notes: { $Notes }\n",
"Description" : "Notify Requestor of their ticket has been approved by all approvers",
"Name" : "All Approvals Passed",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: we received message we cannot decrypt\n\nYou sent an encrypted message with subject '{ $Message->head->get('Subject') }',\nbut we have no private key it's encrypted to.\n\nPlease, check that you encrypt messages with correct keys\nor contact the system administrator.",
"Description" : "Inform user that we received an encrypted email and we have no private keys to decrypt",
"Name" : "Error: no private key",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "RT-Attach-Message: yes\nContent-Type: text/html\n\n<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>\n<br>\n<table border=\"0\">\n<tr><td align=\"right\"><b>Transaction:</b></td><td>{$Transaction->Description}</td></tr>\n<tr><td align=\"right\"><b>Queue:</b></td><td>{$Ticket->QueueObj->Name}</td></tr>\n<tr><td align=\"right\"><b>Subject:</b></td><td>{$Transaction->Subject || $Ticket->Subject || \"(No subject given)\"} </td></tr>\n<tr><td align=\"right\"><b>Owner:</b></td><td>{$Ticket->OwnerObj->Name}</td></tr>\n<tr><td align=\"right\"><b>Requestors:</b></td><td>{$Ticket->RequestorAddresses}</td></tr>\n<tr><td align=\"right\"><b>Status:</b></td><td>{$Ticket->Status}</td></tr>\n<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>\n</table>\n<br/>\n<br/>\n{$Transaction->Content( Type => \"text/html\")}\n",
"Description" : "HTML transaction template",
"Name" : "Transaction in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "RT-Attach-Message: yes\n\n{$Transaction->Content()}\n",
"Description" : "Plain text correspondence template",
"Name" : "Correspondence",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject||\"\"); $s =~ s/\\[Comment\\]\\s*//g; $s =~ s/^Re:\\s*//i; $s;}\nRT-Attach-Message: yes\nContent-Type: text/html\n\n<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>\n\n{$Transaction->Content(Type => \"text/html\")}\n",
"Description" : "HTML admin comment template",
"Name" : "Admin Comment in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "RT-Attach-Message: yes\n\n\n<URL: {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} >\n\n{$Transaction->Content()}\n",
"Description" : "Plain text admin correspondence template",
"Name" : "Admin Correspondence",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject:{$Ticket->Subject} is due {$Ticket->DueObj->AsString}\n\nThis reminder is for ticket #{$Target = $Ticket->RefersTo->First->TargetObj;$Target->Id}.\n\n{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Target->Id}\n",
"Description" : "Default reminder template",
"Name" : "Reminder",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Status Changed to: {$Transaction->NewValue}\n\n\n{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id}\n\n{$Transaction->Content()}\n",
"Description" : "Ticket status changed",
"Name" : "Status Change",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Resolved: {$Ticket->Subject}\n\nAccording to our records, your request has been resolved. If you have any\nfurther questions or concerns, please respond to this message.\n",
"Description" : "Ticket Resolved",
"Name" : "Resolved",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Approved: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>Greetings,</p>\n\n<p>Your ticket has been approved by <b>{ eval { $Approver->Name } }</b>.\nIts Owner may now start to act on it.</p>\n\n<p>Approver's notes:</p>\n<blockquote>{ $Notes }</blockquote>\n",
"Description" : "Notify Requestor of their ticket has been approved by all approvers",
"Name" : "All Approvals Passed in HTML",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Approved: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>Greetings,</p>\n\n<p>The ticket has been approved, you may now start to act on it.</p>\n\n",
"Description" : "Notify Owner of their ticket has been approved and is ready to be acted on",
"Name" : "Approval Ready for Owner in HTML",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "RT-Attach-Message: yes\nContent-Type: text/html\n\n{$Transaction->Content( Type => \"text/html\")}\n",
"Description" : "HTML correspondence template",
"Name" : "Correspondence in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: New Pending Approval: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>Greetings,</p>\n\n<p>There is a new item pending your approval: <b>{$Ticket->Subject()}</b>,\na summary of which appears below.</p>\n\n<p>Please <a href=\"{RT->Config->Get('WebURL')}Approvals/Display.html?id={$Ticket->id}\">approve\nor reject this ticket</a>, or visit the <a href=\"{RT->Config->Get('WebURL')}Approvals/\">approvals\noverview</a> to batch-process all your pending approvals.</p>\n\n<hr />\n{$Transaction->Content()}\n",
"Description" : "Notify Owners and AdminCcs of new items pending their approval",
"Name" : "New Pending Approval in HTML",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Rejected: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>Greetings,</p>\n\n<p>Your ticket has been rejected by <b>{ eval { $Approver->Name } }</b>.</p>\n\n<p>Approver's notes:</p>\n<blockquote>{ $Notes }</blockquote>\n",
"Description" : "Notify Owner of their rejected ticket",
"Name" : "Approval Rejected in HTML",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "\n\n{ $ForwardTransaction->Content =~ /\\S/ ? $ForwardTransaction->Content : \"This is a forward of transaction #\".$Transaction->id.\" of ticket #\". $Ticket->id }\n",
"Description" : "Forwarded message",
"Name" : "Forward",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Approved: {$Ticket->Subject}\n\nGreetings,\n\nThe ticket has been approved, you may now start to act on it.\n\n",
"Description" : "Notify Owner of their ticket has been approved and is ready to be acted on",
"Name" : "Approval Ready for Owner",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject||\"\"); $s =~ s/\\[Comment\\]\\s*//g; $s =~ s/^Re:\\s*//i; $s;}\nRT-Attach-Message: yes\n\n\n{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id}\nThis is a comment. It is not sent to the Requestor(s):\n\n{$Transaction->Content()}\n",
"Description" : "Plain text admin comment template",
"Name" : "Admin Comment",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "RT-Attach-Message: yes\n\n\n{$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.\n Transaction: {$Transaction->Description}\n Queue: {$Ticket->QueueObj->Name}\n Subject: {$Transaction->Subject || $Ticket->Subject || \"(No subject given)\"}\n Owner: {$Ticket->OwnerObj->Name}\n Requestors: {$Ticket->RequestorAddresses}\n Status: {$Ticket->Status}\n Ticket <URL: {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} >\n\n\n{$Transaction->Content()}\n",
"Description" : "Plain text transaction template",
"Name" : "Transaction",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "\n\n{ $ForwardTransaction->Content =~ /\\S/ ? $ForwardTransaction->Content : \"This is a forward of ticket #\". $Ticket->id }\n",
"Description" : "Forwarded ticket message",
"Name" : "Forward Ticket",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: We have no your public key or it's wrong\n\nYou 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.\n",
"Description" : "Inform user that he has problems with public key and couldn't recieve encrypted content",
"Name" : "Error: public key",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Resolved: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.</p>\n",
"Description" : "HTML Ticket Resolved",
"Name" : "Resolved in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "",
"Description" : "A blank template",
"Name" : "Blank",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: RT Email Digest\n\n{ $Argument }\n",
"Description" : "Email template for periodic notification digests",
"Name" : "Email Digest",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: We received a message we cannot handle\n\nYou sent us a message that we cannot handle due to corrupted signature or encrypted block. we get the following error(s):\n{ foreach my $msg ( @Messages ) {\n $OUT .= \"* $msg\\n\";\n }\n}",
"Description" : "Inform user that a message he sent has invalid encryption data",
"Name" : "Error: bad encrypted data",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "RT-Attach-Message: yes\nContent-Type: text/html\n\nTicket URL: <a href=\"{RT->Config->Get(\"WebURL\")}Ticket/Display.html?id={$Ticket->id}\">{RT->Config->Get(\"WebURL\")}Ticket/Display.html?id={$Ticket->id}</a>\n<br />\n<br />\n{$Transaction->Content(Type => \"text/html\");}\n",
"Description" : "HTML admin correspondence template",
"Name" : "Admin Correspondence in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Rejected: {$Ticket->Subject}\n\nGreetings,\n\nYour ticket has been rejected by { eval { $Approver->Name } }.\n\nApprover's notes: { $Notes }\n",
"Description" : "Notify Owner of their rejected ticket",
"Name" : "Approval Rejected",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: Status Changed to: {$Transaction->NewValue}\nContent-Type: text/html\n\n<a href=\"{RT->Config->Get(\"WebURL\")}Ticket/Display.html?id={$Ticket->id}\">{RT->Config->Get(\"WebURL\")}Ticket/Display.html?id={$Ticket->id}</a>\n<br/>\n<br/>\n{$Transaction->Content(Type => \"text/html\")}\n",
"Description" : "HTML Ticket status changed",
"Name" : "Status Change in HTML",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: AutoReply: {$Ticket->Subject}\n\n\nGreetings,\n\nThis message has been automatically generated in response to the\ncreation of a trouble ticket regarding:\n \"{$Ticket->Subject()}\", \na summary of which appears below.\n\nThere is no need to reply to this message right now. Your ticket has been\nassigned an ID of { $Ticket->SubjectTag }.\n\nPlease include the string:\n\n { $Ticket->SubjectTag }\n\nin the subject line of all future correspondence about this issue. To do so, \nyou may reply to this message.\n\n Thank you,\n {$Ticket->QueueObj->CorrespondAddress()}\n\n-------------------------------------------------------------------------\n{$Transaction->Content()}\n",
"Description" : "Plain text Autoresponse template",
"Name" : "Autoreply",
"Queue" : 0,
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Approved: {$Ticket->Subject}\n\nGreetings,\n\nYour ticket has been approved by { eval { $Approver->Name } }.\nOther approvals may be pending.\n\nApprover's notes: { $Notes }\n",
"Description" : "Notify Requestor of their ticket has been approved by some approver",
"Name" : "Approval Passed",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: Ticket Approved: {$Ticket->Subject}\nContent-Type: text/html\n\n<p>Greetings,</p>\n\n<p>Your ticket has been approved by <b>{ eval { $Approver->Name } }</b>.\nOther approvals may be pending.</p>\n\n<p>Approver's notes:</p>\n<blockquote>{ $Notes }</blockquote>\n",
"Description" : "Notify Requestor of their ticket has been approved by some approver",
"Name" : "Approval Passed in HTML",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "",
"Description" : "[no description]",
"Name" : "Transaction in HTML",
"Queue" : "___Approvals",
"Type" : "Perl"
},
{
"Content" : "Subject: [{RT->Config->Get('rtname')}] Missing dashboard!\n\nGreetings,\n\nYou are subscribed to a dashboard that is currently missing. Most likely, the dashboard was deleted.\n\nRT will remove this subscription as it is no longer useful. Here's the information RT had about your subscription:\n\nDashboardID: { $SubscriptionObj->SubValue('DashboardId') }\nFrequency: { $SubscriptionObj->SubValue('Frequency') }\nHour: { $SubscriptionObj->SubValue('Hour') }\n{\n $SubscriptionObj->SubValue('Frequency') eq 'weekly'\n ? \"Day of week: \" . $SubscriptionObj->SubValue('Dow')\n : $SubscriptionObj->SubValue('Frequency') eq 'monthly'\n ? \"Day of month: \" . $SubscriptionObj->SubValue('Dom')\n : ''\n}\n",
"Description" : "Inform user that a dashboard he subscribed to is missing",
"Name" : "Error: Missing dashboard",
"Queue" : 0,
"Type" : "Perl"
}
],
"Users" : [
{
"Comments" : "SuperUser",
"EmailAddress" : "root@localhost",
"Gecos" : "root",
"Name" : "root",
"Password" : "!bcrypt!11!hbxolFxHSAOabB.V6aIHgODUBJ7IvQDRTvlPutsp/9WQPf6YUCsRa",
"Privileged" : true,
"RealName" : "Enoch Root"
},
{
"Comments" : "Do not delete or modify this user. It is integral to RT's internal data structures",
"EmailAddress" : "",
"Name" : "Nobody",
"Password" : "*NO-PASSWORD*",
"Privileged" : false,
"RealName" : "Nobody in particular"
},
{
"Comments" : "Do not delete or modify this user. It is integral to RT's internal database structures",
"Name" : "RT_System",
"Password" : "*NO-PASSWORD*",
"Privileged" : false,
"RealName" : "The RT System itself"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment