Automatically add group as CC

how can i do this? i tried searching but could not find any answers.

pointers: scrips, custom scrip action, RT::ticket::AddWatcherOn 3/15/07, slamp slamp slackamp@gmail.com wrote:

how can i do this? i tried searching but could not find any answers.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

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

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:

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


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com