[rt-users] Queue Notification Scrip question
Ruslan Zakirov
ruz at bestpractical.com
Thu Dec 8 06:54:41 EST 2011
On Mon, Nov 21, 2011 at 11:54 PM, Todd French
<TFrench at theprivatebank.com> wrote:
> I’m trying to tidy up the notifications our users get on RT, currently we
> have in place a scrip that On Queue Change, Notify Admin CC’s. What I’d
> like to do is tweak this so that it only sends the notification for tickets
> that change when the owner is nobody, as we also have set a notification
> when the owner changes. This way we’re only broadcasting to all AdminCC’s
> when there’s something to go take ownership of, not something that is
> already owned.
>
>
>
> I’ve tried using a custom condition such as:
>
> return 1 unless $self->TicketObj->Owner != $RT::Nobody->id;
>
> but I was unsure on how to replicate the usual Notify AdminCC’s action.
You don't need to replicate Notify action. You need custom condition
and replicate On Queue Change condition what is really simple.
--
Best regards, Ruslan.
More information about the rt-users
mailing list