[rt-users] Getting a list of tickets from $self->TicketObj->Merged ?
Kenneth Crocker
kfcrocker at lbl.gov
Wed Sep 29 12:04:41 EDT 2010
David,
Merged tickets have an "EffectiveID" that isn't the same as the"ID". It is
also in the link table as a Type = "MergedInto".
So, if you're using SQL, that should do it fo ryou.
Kenn
LBNL
On Wed, Sep 29, 2010 at 8:31 AM, David <fooraide at gmail.com> wrote:
> Hi,
>
> How would I go about getting an actual list of tickets from
> $self->TicketObj->Merged ?
> It returns an integer which seems to be the amount of tickets that has
> been merged into the actual ticket but it doesn't seem to return a
> list that I can run through.
>
> I've tried going through "Merged" with ->Next but I get an error:
> Commit failed: Can't call method "Next" without a package or object
> reference
>
> The documentation says the following:
> :/opt/rt3/lib/RT# perldoc Ticket_Overlay.pm |grep merged -a2
> Merged
>
> Returns list of tickets' ids that's been merged into this ticket.
>
> Any ideas ?
>
> Thanks,
>
> - David
>
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100929/bda01fff/attachment.htm>
More information about the rt-users
mailing list