[rt-users] Notify owners of new ticket not working
Barnes, Andrew (barnesaw)
barnesaw at UCMAIL.UC.EDU
Thu Jun 20 08:59:16 EDT 2013
On 6/19/13 1:00 PM, "Cena, Stephen (ext. 300)" <SJC at qvii.com> wrote:
>Ah; then it looks like it's a bug in the plug-in itself. It is in fact
>notifying the potential owners of a ticket, whether an Owner is
>specified or not. This isn't bad. I could just create a custom Template
>that would rework the email to let everyone know who has the ticket.
>
>Does anyone have a custom Scrip they use when a ticket is created, and
>no owner is specified that all potential owners get notified? I also
>need to look at the Perl modules someone recommended earlier, but I
>thought this plug-in might do the trick.
My (working) custom condition:
#######
## Custom condition for OnCreate
## Only applies if no owner is set
#######
return undef unless ( ($self->TransactionObj->Type eq "Create") &&
( $self->TicketObj->Owner == $RT::Nobody->id ) );
return 1;
Drew Barnes
Software Applications Developer
University of Cincinnati Blue Ash College
Information Technology Department
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5501 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130620/c1098c23/attachment.bin>
More information about the rt-users
mailing list