NotifyOwnerOrQueueAdminCcsAsComent: New ScripAction.
This commit is contained in:
parent
727d9d5659
commit
8514ae62d5
3 changed files with 28 additions and 1 deletions
8
etc/upgrade/0.5/content
Normal file
8
etc/upgrade/0.5/content
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
@ScripActions = (
|
||||
{ Name => 'Notify Owner or Queue AdminCcs as Comment',
|
||||
Description => 'Sends comment mail to ticket AdminCCs, plus the Owner if set, otherwise queue AdminCCs',
|
||||
ExecModule => 'NotifyOwnerOrQueueAdminCcsAsComment',
|
||||
},
|
||||
);
|
15
lib/RT/Action/NotifyOwnerOrQueueAdminCcsAsComment.pm
Normal file
15
lib/RT/Action/NotifyOwnerOrQueueAdminCcsAsComment.pm
Normal file
|
@ -0,0 +1,15 @@
|
|||
package RT::Action::NotifyOwnerOrQueueAdminCcsAsComment;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use RT::Action::NotifyAsComment;
|
||||
|
||||
use mro "c3";
|
||||
use base qw(
|
||||
RT::Action::NotifyOwnerOrQueueAdminCcs
|
||||
RT::Action::NotifyAsComment
|
||||
);
|
||||
|
||||
RT::Base->_ImportOverlays();
|
||||
|
||||
1;
|
|
@ -2,7 +2,7 @@ use strict;
|
|||
use warnings;
|
||||
package RT::Extension::Conservancy;
|
||||
|
||||
our $VERSION = '0.4';
|
||||
our $VERSION = '0.5';
|
||||
|
||||
=pod
|
||||
|
||||
|
@ -18,6 +18,10 @@ A Scrip action that sends notice to the ticket owner if that's set, or queue
|
|||
AdminCCs if not. Ticket AdminCCs always get the notice too, which is how
|
||||
this is different from the built-in "Notify Owner or AdminCCs".
|
||||
|
||||
=head3 RT::Action::NotifyOwnerOrQueueAdminCcsAsComment
|
||||
|
||||
A variant of the above to send notice from the comment address.
|
||||
|
||||
=head3 RT::Condition::StatusChangeWithDependents
|
||||
|
||||
A Scrip condition that extends RT::Condition::StatusChange. The affected
|
||||
|
|
Loading…
Reference in a new issue