Rt-crontool changes ticket modification time

Hi there,
I use rt-3.8.1 on a FreeBSD6.2 box.

Here’s my cronjob:
0 * * * * /usr/local/bin/rt-crontool --search RT::Search::FromSQL –
search-arg “(Status=‘new’ OR Status=‘open’ OR Status = ‘stalled’)” –
action-arg “RecordTransaction: 0” --action
RT::Action::EscalatePriority >/dev/null 2>/dev/null

it’s only there to escalate my ticket priorities.

My problem: the modification time (last access) of all my tickets is
altered as well, so every ticket appears to have been worked upon
within max 60 minutes (since my job runs every single hour). So I have
no clue, which tickets are worked upon by my workmates. (apart from
checking the history).

Is there any fix for that ?

best regards,
Bernd Kuhlen

i got it fixed to my needs. Here’s what I changed in
EscalatePriority.pm

sub Commit {
my $self = shift;

my ($val, $msg) = $self->TicketObj->SetPriority($self->{‘prio’});

 my ($val, $msg) = $self->TicketObj->__Set(Field => 'Priority',  

Value => $self->{‘prio’}, RecordTransaction => 0);

unless ($val) {
     $RT::Logger->debug($self . " $msg");
}

}

best regards,
Bernd

Hello,

does anyone have a script to or knows how to include ticket id of 

another RT into local ticket subject when the other RT is replying to a
message sent by my RT?

 Fernando Frota Machado de Morais
    Divisao de Redes de Comunicacao
    Centro de Computacao
    Universidade Federal de Minas Gerais
    Brasil
    Tel. +55(31)3409.4007  Fax. +55(31)3409.4004
does anyone have a script to or knows how to include ticket id of 

another RT into local ticket subject when the other RT is replying to a
message sent by my RT?

You don’t say what version of RT you’re running, but modern RTs
include a Scrip that keeps subject tags of external RTs intact.

-kevin

RT 3.8.0

I need to extract subject tags from external RTs and include them (or
the new ones) into my ticket subject, to avoid creation of new tickets
when one RT answer to another.

 Fernando Frota Machado de Morais
    Divisao de Redes de Comunicacao
    Centro de Computacao
    Universidade Federal de Minas Gerais
    Brasil
    Tel. +55(31)3409.4007  Fax. +55(31)3409.4004Em quinta-feira 02 dezembro 2010, às 13:02:22, Kevin Falcone escreveu:

On Thu, Dec 02, 2010 at 10:25:06AM -0200, Fernando Frota Machado de Morais wrote:

does anyone have a script to or knows how to include ticket id
of

another RT into local ticket subject when the other RT is replying
to a message sent by my RT?

You don’t say what version of RT you’re running, but modern RTs
include a Scrip that keeps subject tags of external RTs intact.

-kevin

RT 3.8.0

You want a newer RT and that will just work
3.8.0 is several years behind on bugfixes

-kevin