[rt-users] How to efficiently filter tickets with LimitXXX methods of RT::Tickets?

Scotto Alberto al.scotto at reply.it
Sat Jul 21 14:11:41 EDT 2012

Hi all,

I'm customizing the script http://requesttracker.wikia.com/wiki/RtUnifiedreminder to send a daily report about SLA, with the overdue tickets.
I have a series of nested loops, the main is "for each QueueAdminCC send the report to him/her".
In order to find the overdue tickets that are up to him/her, I'm using RT::Tickets methods: LimitStatus, LimitDue, LimitQueue.

Here is the question.
Is there a way to “cache” some parts of filtering so that I don’t have to start filtering from the ground but use the results previously computed?
If APIs don't give anything specific, I think the only way is cloning the object RT::Tickets after applying the general filters?
In the latter case, would you please give me some hints? Sorry for the dumb question, I'm quite n00b with Perl.

Thank you all!

Alberto Scotto

Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.scotto at reply.it


The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120721/21d7b649/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blue.png
Type: image/png
Size: 2834 bytes
Desc: blue.png
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120721/21d7b649/attachment.png>

More information about the rt-users mailing list