I have a scrip that uses the following custom action. This code means that add a constant user by email address "firstname.lastname@example.org" to the admincc list of one ticket:
my $admincclist = $self->TicketObj->AdminCc; my $user = RT::User->new($RT::SystemUser); $user->LoadByEmail('email@example.com'); $admincclist->AddMember($user->Id);
I want to set a group be admincc instead of one user. how can I do it?