[rt-users] Notify owners of new ticket not working totally
Cena, Stephen (ext. 300)
SJC at qvii.com
Wed Jun 19 09:49:05 EDT 2013
I'm using the NotifyOwner plug in for extra notifications:
http://search.cpan.org/dist/RT-Extension-NotifyOwners/lib/RT/Extension/N
otifyOwners.pm
<http://search.cpan.org/dist/RT-Extension-NotifyOwners/lib/RT/Extension/
NotifyOwners.pm>
The Scrip is working, however its also sending out an email even if the
ticket gets an owner. It should only fire when the ticket is created and
the owner is "Nobody In Particular".
Here is my Scrip:
============================
Desc: On Create Unowned Ticket
Condition: On Create
Action: Notify Potential Owners
Template: Global Template: Potential owners notification
Stage: TransactionCreate
Custom Condition:
return 1 if $self->OwnerObj->Id == $RT::Nobody->Id;
return 0;
=============================
Is my custom condition wrong?
Stephen Cena
QVII
MIS/IT Dept
850 Hudson Ave.
Rochester, NY. 14620
585-544-0450 x300
sjc at qvii.com
"Thank you for helping us help you help us all."
--For email related issues, please contact postmaster at qvii.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130619/70c0b1d6/attachment.htm>
More information about the rt-users
mailing list