hopefully someone can help me with this issue.
I have a perl Script (i think from Dirk Papes Homepage) StalledUntilNow.pm. This works fine so far. It looks for all tickets with a specific Status and a special Starts Value:
$self->TicketsObj->LimitStatus(VALUE => 'stalled', OPERATOR => '=') or die;
$self->TicketsObj->LimitDate(FIELD => 'Starts', OPERATOR => '>', VALUE => $unsetiso);
$self->TicketsObj->LimitDate(FIELD => 'Starts', OPERATOR => '>',
VALUE => 'main.LastUpdated', QUOTEVALUE => 0) or die;
$self->TicketsObj->LimitDate(FIELD => 'Starts', OPERATOR => '<', VALUE => $iso) or die;
Now i have tried to limit the search to a specific queue and the Script doesn't work anymore, no error, but didn't find a ticket. My Change look like:
$self->TicketsObj->LimitQueue(VALUE => 'GAI_BreakBulk');
$self->TicketsObj->LimitStatus(VALUE => 'stalled', OPERATOR => '=') or die;
$self->TicketsObj->LimitDate(FIELD => 'Starts', OPERATOR => '>', VALUE => $unsetiso);
$self->TicketsObj->LimitDate(FIELD => 'Starts', OPERATOR => '>',
VALUE => 'main.LastUpdated', QUOTEVALUE => 0) or die;
$self->TicketsObj->LimitDate(FIELD => 'Starts', OPERATOR => '<', VALUE => $iso) or die;
Whats going wrong? I'm at the end of my Ideas..
Thanks for any help.
Torsten
--
MFG
Torsten Brumm
http://www.torsten-brumm.de
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com