[rt-users] help! RT::Action::NotifyGroup help!

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Aug 24 13:01:15 EDT 2006


On 8/24/06, Jason Marshall <jasonm at kelman.com> wrote:
> Hi Ruslan, no I didn't see that.  Thanks for pointing it out to me.
>
> I have an RT group called 'systems'.  Do I just have to add the group
> 'systems', or all the members of the group individually?
Most probably you want to add a group instead of users, so you would
be able to add users to the group from RT UI and scrip action will
pick up new members automatically.

>
> Thanks.
>
> > Have you seen rtx-notify-group-admin script that comes with extension?
> >
> > On 8/24/06, Jason Marshall <jasonm at kelman.com> wrote:
> >> Good morning!  Let me begin by saying I am NOT a perl programmer, and I
> >> have no idea what I'm doing.
> >>
> >> I have made a custom condition that tries to invoke
> >> RT::Action::NotifyGroup in the commit stage, but I can't make it do
> >> anything.
> >>
> >> I've tried all the random stupid stuff I can think of, but haven't hit the
> >> right combination of guesses yet.
> >>
> >> Right now, I have:
> >>
> >>    require RT::Action::NotifyGroup;
> >>    $RT::Action::NotifyGroup->SetRecipients('Systems');
> >>
> >> in the Custom action cleanup code: section.
> >>
> >> The error I get in the logfile is:
> >>
> >> [Thu Aug 24 15:44:17 2006] [error]: Scrip 15 Commit failed: Can't call
> >> method "SetRecipients" on an undefined value at (eval 450) line 2.
> >>
> >> To me, this means nothing.  What is it saying is undefined?  Is it
> >> expecting more arguments?  I've tried pretty well everything I can think
> >> of...
> >>
> >> Thanks in advance!!
> >>
> >>
> >> ---
> >> Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.
> >>
> >>    From a Sun Microsystems bug report (#4102680):
> >>      "Workaround: don't pound on the mouse like a wild monkey."
> >>
> >>    "I have great faith in fools:
> >>       Self confidence my friends call it."  -Edgar Allan Poe
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> >
> > --
> > Best regards, Ruslan.
> >
>
> ---
> Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.
>
>    From a Sun Microsystems bug report (#4102680):
>      "Workaround: don't pound on the mouse like a wild monkey."
>
>    "I have great faith in fools:
>       Self confidence my friends call it."  -Edgar Allan Poe
>
>


-- 
Best regards, Ruslan.



More information about the rt-users mailing list