Skip to content
Browse files

document template used by rules.

  • Loading branch information...
1 parent 73cc1e1 commit 0be8fadca337e0793371a886c417c0db8e81d163 @clkao clkao committed Jul 28, 2010
View
24 lib/RT/Extension/NotificationMatrix/Rule/QueueChanged.pm
@@ -11,4 +11,28 @@ sub ConditionMatched {
$self->ScripConditionMatched("On Queue Change");
}
+=head Templates
+
+For external notification, the first template found will be used:
+
+=over
+
+=item QueueChanged
+
+=item Transaction
+
+=back
+
+For internal notification, the first template found will be used:
+
+=over
+
+=item QueueChanged
+
+=item Transaction
+
+=back
+
+=cut
+
1;
View
27 lib/RT/Extension/NotificationMatrix/Rule/TicketCommented.pm
@@ -12,4 +12,31 @@ sub ConditionMatched {
$self->ScripConditionMatched("On Comment");
}
+=head Templates
+
+For external notification, the first template found will be used:
+
+=over
+
+=item TicketCommented
+
+=item Transaction
+
+=back
+
+For internal notification, the first template found will be used:
+
+=over
+
+=item TicketCommented
+
+=item Admin Comment
+
+=item Transaction
+
+=back
+
+=cut
+
+
1;
View
26 lib/RT/Extension/NotificationMatrix/Rule/TicketCreated.pm
@@ -13,4 +13,30 @@ sub ConditionMatched {
$self->ScripConditionMatched("On Create");
}
+=head Templates
+
+For external notification, the first template found will be used:
+
+=over
+
+=item TicketCreated
+
+=item AutoReply
+
+=item Transaction
+
+=back
+
+For internal notification, the first template found will be used:
+
+=over
+
+=item TicketCreated
+
+=item Transaction
+
+=back
+
+=cut
+
1;
View
27 lib/RT/Extension/NotificationMatrix/Rule/TicketResolved.pm
@@ -12,4 +12,31 @@ sub ConditionMatched {
$self->ScripConditionMatched("On Resolve");
}
+=head Templates
+
+For external notification, the first template found will be used:
+
+=over
+
+=item TicketResolved
+
+=item Resolved
+
+=item Transaction
+
+=back
+
+For internal notification, the first template found will be used:
+
+=over
+
+=item TicketResolved
+
+=item Transaction
+
+=back
+
+=cut
+
+
1;
View
24 lib/RT/Extension/NotificationMatrix/Rule/TicketTaken.pm
@@ -13,4 +13,28 @@ sub ConditionMatched {
return ($txn->Field && $txn->Field eq 'Owner' && $txn->OldValue == $RT::Nobody->Id)
}
+=head Templates
+
+For external notification, the first template found will be used:
+
+=over
+
+=item TicketTaken
+
+=item Transaction
+
+=back
+
+For internal notification, the first template found will be used:
+
+=over
+
+=item TicketTaken
+
+=item Transaction
+
+=back
+
+=cut
+
1;
View
28 lib/RT/Extension/NotificationMatrix/Rule/TicketUpdatedExternally.pm
@@ -28,4 +28,32 @@ sub ConditionMatched {
return 1;
}
+=head Templates
+
+For external notification, the first template found will be used:
+
+=over
+
+=item TicketUpdatedExternally
+
+=item Correspondence
+
+=item Transaction
+
+=back
+
+For internal notification, the first template found will be used:
+
+=over
+
+=item TicketUpdatedExternally
+
+=item Admin Correspondence
+
+=item Transaction
+
+=back
+
+=cut
+
1;

0 comments on commit 0be8fad

Please sign in to comment.
Something went wrong with that request. Please try again.