[rt-users] Approval notification
Kevin Falcone
falcone at bestpractical.com
Wed Oct 14 17:52:40 EDT 2009
On Wed, Oct 14, 2009 at 02:43:22PM -0400, Mathieu Longtin wrote:
> Hello,
>
> I set up a "Create Tickets" script, and the approval ticket is created, but
> no emails is ever sent to the approvers.
I bounced your mail into the bug tracker and asked the developer
responsible for the code to comment.
-kevin
> I tracked down in RT::Approval::Rule::NewPending, in commit, this code:
>
> # first txn entry of the approval ticket
> local $self->{TransactionObj} = $to;
> $self->RunScripAction('Notify Owner', 'New Pending Approval', @_);
>
> return;
>
> # this generates more correct content of the message, but not sure
> # if ccmessageto is the right way to do this.
> my $template = $self->GetTemplate('New Pending Approval',
> TicketObj => $top,
> TransactionObj => $to)
> or return;
>
>
> Was the "return" in the middle left there by mistake? No email is ever sent
> since there is no owner, just a few AdminCC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091014/63b6212a/attachment.sig>
More information about the rt-users
mailing list