[rt-users] Remove Watchers on Owner Change

Seth Lake slake at bcssi.com
Thu Oct 29 10:46:16 EDT 2009


This works to strip out all the watchers, how to add back in the owner ?
I'm terrible at this hacking thing?

foreach my $address (
$self->TicketObj->QueueObj->Cc->MemberEmailAddresses ){
  $self->TicketObj->SquelchMailTo($address);
}



-----Original Message-----
From: Jerrad Pierce [mailto:jpierce at cambridgeenergyalliance.org] 
Sent: Thursday, October 29, 2009 10:33 AM
To: Seth Lake
Cc: RT-Users at lists.bestpractical.com
Subject: Re: [rt-users] Remove Watchers on Owner Change

On Thu, Oct 29, 2009 at 10:22, Seth Lake <slake at bcssi.com> wrote:
> Looking for a way (scrip?) to remove non-owner/requester/admin CCs on
> take or ownership change.
>
> We have a big group of CCs when a ticket comes in, once one of the
> helpdesk group takes the ticket I want the people that aren't directly
> involved out off the watchers list.
Look at my squelch remote recipients scrip as a starting point?

http://www.gossamer-threads.com/lists/rt/users/88831?nohighlight=1#88831

-- 
Cambridge Energy Alliance: Save money. Save the planet.



More information about the rt-users mailing list