[rt-users] Removing watchers from Cc list

Iounes GARDON /iog .Y iounes.gardon at mikrosimage.fr
Thu Oct 11 09:25:20 EDT 2007


Hello Terence,

I see one way to do this and you need to create a new scrip. I can give
you some hints but you'll have to write it by yourself.

- For Custom Condition you can look the <RT PATH>/lib/RT/Group_Overlay.pm
You can use the HasMember value to check if a user is a member of a group.
- For the Custom Action you have to use the <RT
PATH>/lib/RT/Ticket_Overlay.pm.
I'll suggest you to use the $self->TicketObj->DeleteWatcher

Use the perldoc linux command to explore <RT
PATH>/lib/RT/Ticket_Overlay.pm and <RT PATH>/lib/RT/Group_Overlay.pm
Use the wiki (http://wiki.bestpractical.com/view/Contributions) to help
you to write your scrip.

Good luck!

--
Iounes GARDON
www.mikrosimage.fr




More information about the rt-users mailing list