[rt-users] Alert Group when a ticket in placed into stall
Emmanuel Lacour
elacour at easter-eggs.com
Fri May 31 12:15:19 EDT 2013
On Fri, May 31, 2013 at 09:09:54AM -0700, globo wrote:
> Hi
>
Hi,
> Does anyone have a script to alert a group when a ticket/request is placed
> in a Stall condition.
>
> I use the following to alert the group
>
> To: { my $group = RT::Group->new( $RT::SystemUser );
> $group->LoadUserDefinedGroup("Group Name");
> $group->MemberEmailAddressesAsString; }
>
> but I cant find the Condition (On Stall ) when setting up the script
>
>
Use a User defined condition such as:
return undef unless ( $self->TicketObj->Type eq 'ticket' );
return undef unless ( $self->TransactionObj->Type eq 'Status' );
return undef unless ( $self->TransactionObj->NewValue ne $self->TransactionObj->OldValue );
return undef unless ( $self->TransactionObj->NewValue eq 'stalled' );
return 1;
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com - http://www.easter-eggs.com
More information about the rt-users
mailing list