Last Comment/Correspondance In Resolve Ticket

Hey,

Looking through the archives I came across this:
http://lists.fsck.com/pipermail/rt-users/2002-July/009118.html

It explains how to possibly get the last correspondance into the final
resolve ticket. Is that still the best way of doing this? I’ve seen
some reference to $Ticket->Transactions->Last->Content(), but this
seemed to be a hit and miss (in some cases it resolves before adding the
comment or something?)

Anyone have any working solutions?

Thanks,
Andy.

Andy Coates andy@bribed.net (2003-Feb-10 11:49) wrote:

Anyone have any working solutions?

see the archive at

Message-ID: 20030103160230.GL68152@avery.zib.de

works perfectly!

Have A Nice Day,
Wolfgang
Wolfgang W. Baumann baumann@zib.de CFD Consultant @ ZIB & HLRN
"It is impossible to sharpen a pencil with a blunt axe. It is equally vain
to try to do it with twelve blunt axes instead." – E. W. Dijkstra

Andy Coates andy@bribed.net (2003-Feb-10 11:49) wrote:

Anyone have any working solutions?

see the archive at

Message-ID: 20030103160230.GL68152@avery.zib.de
Subject: Re: Resolved Autoresponse with Resolution ???
Date: Fri, 3 Jan 2003 17:02:30 +0100

works perfectly!

Almost what I want, but that shows the entire history from what I can
tell - which in our case is sometimes huge. I’m not sure I’d be
confident enough to tweak that code to do my bidding, but will give it a
go if there’s not a simple solution.

Cheers,
Andy.

Almost what I want, but that shows the entire history from what I can
tell - which in our case is sometimes huge. I’m not sure I’d be
confident enough to tweak that code to do my bidding, but will give it a
go if there’s not a simple solution.

http://lists.fsck.com/pipermail/rt-users/2002-November/010787.html

Note the comments:

# Have this if you only want the last one, comment out if you
# want all of them.
$have_last++;

Regards,

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B             Operations/Security

Almost what I want, but that shows the entire history from what I can
tell - which in our case is sometimes huge. I’m not sure I’d be
confident enough to tweak that code to do my bidding, but will give
it a go if there’s not a simple solution.

http://lists.fsck.com/pipermail/rt-users/2002-November/010787.html

Note the comments:

Thanks Bruce - I took one look a the start of it and ran… After close
inspection it isn’t too hard to see what is happening, and I’ve managed
to tweak it to show the last comment or correspondence as well.

Much appreciated.
Andy.