David,<br><br>Merged tickets have an "EffectiveID" that isn't the same as the"ID". It is also in the link table as a Type = "MergedInto". <br>So, if you're using SQL, that should do it fo ryou.<br>
<br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 8:31 AM, David <span dir="ltr"><<a href="mailto:fooraide@gmail.com">fooraide@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
How would I go about getting an actual list of tickets from<br>
$self->TicketObj->Merged ?<br>
It returns an integer which seems to be the amount of tickets that has<br>
been merged into the actual ticket but it doesn't seem to return a<br>
list that I can run through.<br>
<br>
I've tried going through "Merged" with ->Next but I get an error:<br>
Commit failed: Can't call method "Next" without a package or object reference<br>
<br>
The documentation says the following:<br>
:/opt/rt3/lib/RT# perldoc Ticket_Overlay.pm |grep merged -a2<br>
Merged<br>
<br>
Returns list of tickets' ids that's been merged into this ticket.<br>
<br>
Any ideas ?<br>
<br>
Thanks,<br>
<br>
- David<br>
<br>
RT Training in Washington DC, USA on Oct 25 & 26 2010<br>
Last one this year -- Learn how to get the most out of RT!<br>
</blockquote></div><br>