On Wed, Sep 10, 2014 at 04:13:14PM +0200, Albert Shih wrote: > Hi everyone. > > I want to add a group (defined inside RT) in a script ? > > I find something on the web who use de AddWatcher like something : > > my ($success, $msg)= $ticket->AddWatcher( > Type => "AdminCc", > PrincipalId => $userObj->PrincipalId); > > but that's no very convenient, I like to add directly a group.
What happened when you passed the group's PrincipalID? Since that will work (for things other than Owner). -kevin
pgphuAwXeE_AM.pgp
Description: PGP signature
-- RT Training - Boston, September 9-10 http://bestpractical.com/training
