[rt-users] Notify via SMS if ticket Subject =~ /urgent/i

Craig Ringer craig at 2ndquadrant.com
Sun Jul 28 22:06:53 EDT 2013


On 07/29/2013 09:34 AM, Craig Ringer wrote:
> On 07/26/2013 01:15 AM, EJ Marmonti wrote:
>> Greetings
>>
>> I'm using RT 4.0.10 and am trying to create a scrip to accomplish this. 
>> If the subject contains the word urgent (not case senstive, thus the
>> /urgent/i), I want it to send me an SMS.
> 
> I've already written one; grab RT::Extension::SMSNotify from CPAN.

... and combine it with a simple user-defined condition, something like

return $self->Ticket->Subject =~ qr/urgent/i;

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



More information about the rt-users mailing list