[rt-users] Action with CustomField on merge tickets

Pavel Gulchouck gul at gul.kiev.ua
Mon Jun 17 07:52:04 EDT 2013


Thank you.
I used $ticket_obj->Load($id) and got new ticket obj. 
When I use $ticket_obj->LoadById($id) I got original object 
and then able to use $ticket_obj->FirstCustomFieldValue().
My problem is solved. :)

On Mon, Jun 17, 2013 at 02:23:51PM +0400, Ruslan Zakirov writes:
> RTIR has example of such scrip.
> 
> On Mon, Jun 17, 2013 at 1:49 PM, Pavel Gulchouck <gul at gul.kiev.ua> wrote:
> 
>> If anybody merges tickets with CustomFields type "one value", then
>> CF value of old (merged) ticket lost.
>> Is it possible to take some action with this value from scrip
>> or scrip runs only when old CF value is already unavailable?
>>
>> As I understand old ticket id is $self->TransactionObj->Ticket,
>> but I cannot get its CF value. Please help.

-- 
Pavel



More information about the rt-users mailing list