X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Finitialdata;h=d5d3b2022b595d4fffca3dec513066cd6dbb1b38;hb=c2146ae32fdef80049abfa13098db2d45f3ebdd5;hp=62b35ace2a9e4ecba09774a8d6e5cfccafcdcbc4;hpb=945721f48f74d5cfffef7c7cf3a3d6bc2521f5dd;p=freeside.git diff --git a/rt/etc/initialdata b/rt/etc/initialdata index 62b35ace2..d5d3b2022 100644 --- a/rt/etc/initialdata +++ b/rt/etc/initialdata @@ -86,6 +86,14 @@ Description => 'Sends mail to the owner', # loc ExecModule => 'Notify', Argument => 'Owner' }, + { Name => 'Notify Ccs as Comment', # loc + Description => 'Sends mail to the Ccs as a comment', # loc + ExecModule => 'NotifyAsComment', + Argument => 'Cc' }, + { Name => 'Notify Ccs', # loc + Description => 'Sends mail to the Ccs', # loc + ExecModule => 'Notify', + Argument => 'Cc' }, { Name => 'Notify AdminCcs as Comment', # loc Description => 'Sends mail to the administrative Ccs as a comment', # loc ExecModule => 'NotifyAsComment', @@ -166,6 +174,13 @@ }, { + Name => 'On Priority Change', # loc + Description => 'Whenever a ticket\'s priority changes', # loc + ApplicableTransTypes => 'Set', + ExecModule => 'PriorityChange', + }, + { + Name => 'On Owner Change', # loc Description => 'Whenever a ticket\'s owner changes', # loc ApplicableTransTypes => 'Any', @@ -307,7 +322,7 @@ This is a comment. It is not sent to the Requestor(s): Queue => '0', Name => 'Resolved', # loc Description => 'Ticket Resolved', # loc - Content => 'Subject: Ticket Resolved + Content => 'Subject: Resolved: {$Ticket->Subject} According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message. @@ -373,6 +388,9 @@ Your ticket has been rejected by { eval { $Approval->OwnerObj->Name } }. { ScripCondition => 'On Correspond', ScripAction => 'Open Tickets', Template => 'Blank' }, + { ScripCondition => 'On Owner Change', + ScripAction => 'Notify Owner', + Template => 'Transaction' }, { ScripCondition => 'On Create', ScripAction => 'AutoReply To Requestors', Template => 'AutoReply' }, @@ -551,7 +569,7 @@ while (my $link = $links->Next) { require RT::Action::Notify; bless($self, 'RT::Action::Notify'); $self->{Argument} = 'Requestor'; $self->Prepare; -return $passed; +return 0; # ignore $passed; # ------------------------------------------------------------------- # ], CustomCommitCode => '"never needed"',