<div dir="ltr"><div>Poor form, I know... but I think I might have found the answer:<br><br>rt-crontool --search RT::Search::FromSQL --search-arg 'Status = "open" or Status = "new"' --action RT::Action::LinearEscalate --action-arg "UpdateLastUpdated: 0" --verbose --log info<br><a href="https://www.bestpractical.com/docs/rt/latest/RT/Action/LinearEscalate.html">https://www.bestpractical.com/docs/rt/latest/RT/Action/LinearEscalate.html</a> <br><br></div>Now I just need to work out how to display the priority numerically in the GUI so I can verify that it's working! BRB... :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 February 2015 at 17:13, Chris Herrmann <span dir="ltr"><<a href="mailto:chrisherrmann7@gmail.com" target="_blank">chrisherrmann7@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>I almost have rt-crontool escalation doing what I want, using the following command:<br><br>rt-crontool --search RT::Search::FromSQL --search-arg 'Status = "open" or Status = "new"' --action RT::Action::EscalatePriority --verbose --log info <br><br></div>I've used this rather than:<br><br>--search RT::Search::ActiveTicketsInQueue  --search-arg general <br><br></div>because you then need to pass in every single queue that you want it to iterate over (in my case every queue).<br><br></div>Anyway - the escalation part is working - it's correctly increasing the priority by the desired amounts. But... an unintended (but logical) side effect of this is that when you look at a list of new / open tickets, the "Last Updated" and "Last Updated By" are now of course the last time that the escalation script was run, and the rtuser configured to run it.<br><br></div>The problem with this, is that it obscures what we actually want to see in these lists - which is "when did a human being last touch this ticket, and who was it?".<br><br></div>So... is there either a way to modify the search results so that it shows this, OR is there a way to modify rt-crontool so that it doesn't impact these specific values for standard searches / ticket lists etc?<br><br></div><div>Thankyou!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Chris<br></div></font></span></div>
</blockquote></div><br></div>