[rt-users] aborting ticket creation via scrip

Joby Walker joby at u.washington.edu
Mon Jul 18 17:56:06 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm pretty sure this isn't possible with a scrip.  What you could do is
on create set the status to "deleted" when matching your criteria.

Joby Walker
ITI SSG, University of Washington
- --
PGP key: https://staff.washington.edu/joby/joby-u-pub.asc


O. Ododa wrote:
> I'm trying to find a way to get RT not to create a ticket when it
> receives an email that matches certain criteria (is in a specific queue,
> subject matches or doesn't match a regex, content lines match or don't
> match a specific regex).
> 
> I've written the scrip and if a given check fails, I 'return undef;',
> but RT creates the ticket anyway. Is there any way to avoid this? I've
> searched the archive, and have come up empty.
> -- 
> O. Ododa
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3CV2gA0gpghkf88RAibJAJ0ZeLdmnKDHByPaQNMNPG7ZOWGV/QCfYSHf
0rkuHb7Z63vDTtV2K21Kubs=
=876g
-----END PGP SIGNATURE-----



More information about the rt-users mailing list