[Rt-devel] User defined Condition: Autoclose
vadud3 at gmail.com
Thu Feb 12 14:02:50 EST 2009
On Thu, Feb 12, 2009 at 1:17 PM, Asif Iqbal <vadud3 at gmail.com> wrote:
> How do I define a condition where requestor address is 'user at example'
> com? I will use this condition to close a ticket
> In chapter 6.1.3 Conditions of RT Essentials by Oreilly I see
> something like this
> $self->TicketObj->status eq 'deleted';
> my $email = $self->TicketObj->RequestorAddresses
> So can I have a user defined condition like this?
> $self->TicketObj->RequestorAddresses eq 'user at example.com' ?
> Is that a valid syntax ?
I tried to setup like this thru web but it does not resolve the
ticket. What am I doing wrong?
Condition: User Defined
Action: User Defined
Template: Global template: Autoreply
$self->TicketObj->RequestorAddresses eq 'vadud3 at gmail.com';
Custom action preparation code:
Custom action cleanup code:
I see it create a ticket but it does not autoclose it
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the Rt-devel