[rt-users] Action::EscalatePriority messing up my ticket history
Ham MI-ID, Torsten Brumm
torsten.brumm at Kuehne-Nagel.com
Thu Oct 9 06:38:25 EDT 2008
Hi Bernd,
not sure for EscalatePriority Module, but for the RT::Action::LinearEscalate you can define to not mess um the history:
--from the modul:
You should prefix options with "LinearEscalate_" in the config:
Set( $LinearEscalate_RecordTransaction, 1 );
Set( $LinearEscalate_UpdateLastUpdated, 1 );
From a shell you can use the following command:
rt-crontool --search RT::Search::FromSQL --search-arg \
"(Status='new' OR Status='open' OR Status = 'stalled')" \
--action RT::Action::LinearEscalate \
--action-arg "RecordTransaction: 1"
If i understand this correct, then set both to 0 will disable this. I think this module is doing more or less the same, but in a linear way.
Torsten
Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne
-----Ursprüngliche Nachricht-----
Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Bernd Kuhlen -WetterOnline-
Gesendet: Donnerstag, 9. Oktober 2008 11:21
An: rt-users at lists.bestpractical.com
Betreff: [rt-users] Action::EscalatePriority messing up my ticket history
Hi everyone,
I've set up my rt-crontool like this:
0 1 * * * /usr/local/bin/rt-crontool --search RT::Search::FromSQL -- search-arg "(Status='new' OR Status='open' OR Status = 'stalled')" -- action RT::Action::EscalatePriority >/dev/null 2>/dev/null
and it's working fine. But I don't want it to mess up my ticket history. I have tickets starting with a priority of 0 and ending with 100 in some weeks time and every night I get a new entry saying that the ticket priority has changed. These entry are informative if the priority has been manually changed but not if they just trace the linear priority escalation done by a cronjob. So after a couple of weeks I have numerous lines with a "ticket-priority changed" entry.
That's not nice.
I'm new to RT and couldn't find anything about this matter by google or in any wiki.
best regards,
Bernd
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list