[rt-users] scrip not working after upgrade
Nicolas GUIOT
nicolas.guiot at risc-group.com
Mon Dec 14 04:35:35 EST 2009
Hi,
I still have exactly the same behaviour :
your ticket has been rejeted
Status: open
Please, everyone, just let me know how YOU warn users that their ticket has been rejected.
Nicolas
On Fri, 11 Dec 2009 12:52:20 -0800
Ken Crocker wrote:
> Nicolas,
>
> Try this:
>
> # Custom Condition
> #
> my $trans = $self->TransactionObj;
>
> return ($trans->Type eq "Status" &&
> $trans->NewValue eq "rejected");
>
> Kenn
> LBNL
>
> On 12/11/2009 1:47 AM, Nicolas GUIOT wrote:
> > Hi everyone,
> >
> > I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a
> > last bug :
> >
> > I had a scrip that was doing the following : if a ticket has been
> > rejected, then email the user so that he knows about it.
> >
> > This was made like this :
> >
> > Condition : On Status Change
> > Action : Notify requestor, CCs, and AdminCCs
> > Template : GlobalTemplate : Reject
> > Stage : Transaction Create
> >
> > Custon Condition :
> > if ( $Ticket->Status eq "rejected") { return 1; }
> > return 0;
> >
> > So, this works perfectly in the "old" setup (3.6.1).
> >
> > But in 3.8.6, every time the status of the ticket changes (open,
> > solved, closed, etc...), the Requestor receives a "ticket rejected"
> > notice.
> >
> > Has anything changed between the 2 versions ? Did I miss something
> > else ?
> >
> > Thanks in advance for your help
> > Nicolas
> >
More information about the rt-users
mailing list