I have been trying to make a script that adds whole user groups as Watchers in a ticket. It should be triggered by ticket creation event which is no problem to set up. I created a customfield where I can choose multiple user groups and added that field to a ticket creation page. I was trying to modify AddSquelchedCc script but with no luck. I suck @ Perl.
The script should take RT user group names from the customfield and add all the members of those groups as Watchers when a ticket is created.
I would be thrilled if someone could help with that.
Thanks in advance,