[rt-users] automatically add group as CC
Roy El-Hames
rfh at pipex.net
Fri Mar 16 10:18:57 EDT 2007
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