[rt-users] automatically add group as CC

Matthew Keller kellermg at potsdam.edu
Fri Mar 16 10:24:59 EDT 2007


I wasn't clear, and apologize for that. I do know how to do this through
code, my question was for my users when they're creating a ticket using
the RT web interface. 

On Fri, 2007-03-16 at 14:18 +0000, Roy El-Hames wrote:
> I think ;
> you load your group
> my $gobject = new RT::Group (RT::SystemUser);
> $gobject->LoadUserDefinedGroup('TheGroup');
> then add them as CC
> my ($code,$msg) = $Ticketobj->AddWatcher(Type =>'Cc',PrincipalId => 
> $gobject->Id);
> 
> Roy
> Matthew Keller wrote:
> > In the same vein as this, I know how to add groups as CC's after a
> > ticket is created, but at ticket create time it seems that unless I know
> > the group ID number, and put the number in the CC field, there is no way
> > to add a group there. Is there some syntax like Group(TheGroup) I'm
> > missing? I have gone through the UserManual and haven't found any thing
> > other than how to add them post-create. Thanks!
> >
> > On Fri, 2007-03-16 at 00:23 +0300, Ruslan Zakirov wrote:
> >   
> >> pointers: scrips, custom scrip action, RT::Ticket::AddWatcher
> >>     
> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> > Buy a copy at http://rtbook.bestpractical.com
> >
> >   
> 




More information about the rt-users mailing list