[rt-users] Escalate tickets without changing last updated field

Stephen Fung stephen at hknet.com
Tue Jun 7 02:47:01 EDT 2005


Change the following line in EscalatePriority.pm:

Original:
my ($val, $msg) = $self->TicketObj->SetPriority($self->{'prio'});

To:
my ($val, $msg) = $self->TicketObj->__Set(Field => 'Priority', Value => 
$self->{'prio'}, RecordTransaction => 0);


Rasjid Wilcox wrote:
> Hi,
> 
> I have worked out how to modify RT::Action::EscalatePriority so that a 
> transaction is not recorded each time a ticket's priority is escalated.
> 
> However, the LastUpdated date is still reset.  It would be nice if this could 
> was left alone for this action.
> 
> Any suggestions as to how to go about this (including just suggesting which 
> module to look at in detail) would be much appreciated.
> 
> Thanks,
> 
> Rasjid.
> 



More information about the rt-users mailing list