[rt-users] Notify "admincc" on ticket creation only?

Kevin Falcone falcone at bestpractical.com
Thu Sep 24 19:47:28 EDT 2009


On Thu, Sep 24, 2009 at 07:06:12PM -0400, Jerrad Pierce wrote:
> For anyone interested, here's what I have so far, and it seems to work:
> OnCreate, User Defined Action...
> 
> my $org = RT->Config->Get('Organization')
> foreach my $address ( grep {$_ !~ /\@\Q$org\E/}
> $self->TicketObj->QueueObj->AdminCc->MemberEmailAddresses ){
> $self->TicketObj->SquelchMailTo($address);
> }
> 
> That will remove external AdminCcs post-auto-response.

I'd just use rt-email-group-admin to set up an action that notifies a
group of people only on creation.  It'll complicate your rights a bit
if you're trying to give these users rights on tickets based on being
admincc of course.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090924/c8d10233/attachment.sig>


More information about the rt-users mailing list