Re: [rt-users] Remove Watchers on Owner Change

2009-11-02 Thread Seth Lake
Here's what I ended up with, take everyone off the mail group then add in the new owner... foreach my $address($self-TicketObj-QueueObj-Cc-MemberEmailAddresses){ $self-TicketObj-SquelchMailTo($address); } if($self-TicketObj-OwnerObj-Id != $RT::Nobody-id){ $self-TicketObj-AddWatcher(

[rt-users] Remove Watchers on Owner Change

2009-10-29 Thread Seth Lake
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. Thanks!

Re: [rt-users] Remove Watchers on Owner Change

2009-10-29 Thread Jerrad Pierce
On Thu, Oct 29, 2009 at 10:22, Seth Lake sl...@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

Re: [rt-users] Remove Watchers on Owner Change

2009-10-29 Thread Jerrad Pierce
On Thu, Oct 29, 2009 at 10:22, Seth Lake sl...@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

Re: [rt-users] Remove Watchers on Owner Change

2009-10-29 Thread Seth Lake
...@cambridgeenergyalliance.org] Sent: Thursday, October 29, 2009 10:33 AM To: Seth Lake Cc: RT-Users@lists.bestpractical.com Subject: Re: [rt-users] Remove Watchers on Owner Change On Thu, Oct 29, 2009 at 10:22, Seth Lake sl...@bcssi.com wrote: Looking for a way (scrip?) to remove non-owner/requester