I am unable to disable transaction records when adding a reference
such as the one below:
$self->TicketObj->AddLink( Type => ‘RefersTo’, Target => $ticket_id,
RecordTransaction => 0);
Where $ticket_id is a ticket number retrieved before.
The reference is added properly between the two tickets but the
transaction will still show in the ticket:
Wed Jun 17 00:00:00 2009 RT_System - Reference to ticket #XXXXXXX added
However, it seems like I am unable to get this to work… Is it
something particular to linking transaction (such as RefersTo,
ReferredToBy, Children, Parent) ? It could make sense since the action
has an influence on two tickets rather than just one.
I am running RT 3.8.2 at this time and planning to upgrade to 3.8.4 shortly.
You were correct, the documentation shows that the right arguments are
“SilentBase” and “SilentTarget” and they must be true for the transactions
to be hidden - for instance:
I am unable to disable transaction records when adding a reference
such as the one below:
$self->TicketObj->AddLink( Type => ‘RefersTo’, Target => $ticket_id,
RecordTransaction => 0);
Double check the documentation for AddLink. There is no
RecordTransaction
argument but there is another option for suppressing transactions
-kevin
Where $ticket_id is a ticket number retrieved before.
The reference is added properly between the two tickets but the
transaction will still show in the ticket:
Wed Jun 17 00:00:00 2009 RT_System - Reference to ticket #XXXXXXX
added
However, it seems like I am unable to get this to work… Is it
something particular to linking transaction (such as RefersTo,
ReferredToBy, Children, Parent) ? It could make sense since the action
has an influence on two tickets rather than just one.
I am running RT 3.8.2 at this time and planning to upgrade to 3.8.4
shortly.