[rt-users] Parse ticket for words to prevent certain replies from reopening tickets

Kevin Falcone falcone at bestpractical.com
Tue Feb 14 11:42:01 EST 2012


On Mon, Feb 13, 2012 at 05:00:30PM -0500, David Hollinger wrote:
>    I'm trying to write a scrip that will parse the content of a ticket transaction after the
>    ticket has been resolved and prevent any ticket with the reply "thanks", Thank you!, no
>    problem, etc and variations of those from reopening the ticket as it throws our SLA metrics
>    off.  The only problem I'm running into  is, I don't know what object the ticket content is
>    stored in.  Is it a TranactionObj? (I'm assuming it is) If so, how do I assign that to a
>    variable in the RT perl scrip.   Once I have that part done, I should be good to go.

$self->TransactionObj->Content is the right place to start.
If you come up with something that works well for you, I know plenty
of other folks on the list would love to see your custom condition.

-kevin
-------------- 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/20120214/9f35e198/attachment.sig>


More information about the rt-users mailing list