[rt-users] How to add a group
Kevin Falcone
falcone at bestpractical.com
Tue Sep 16 09:27:48 EDT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 221 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140916/25c118a4/attachment.sig>
More information about the rt-users
mailing list