Re: [rt-users] warning message on set ReferTo

2014-12-25 Thread Payam Poursaied
Hi Alex That line copied exactly from the script. The whole idea of my script is searching for specific ticket based on customefiled and refer a newly created ticket to the first ticket which has the same customfiled value. First it fills some customfields based on body of the first

Re: [rt-users] warning message on set ReferTo

2014-12-25 Thread Alex Peters
The line in your first message: $Ticket-AddLink(Type='RefersTo',Target=$pticket_id,RecordTransactiosn=0); has a typo in RecordTransaction, but I'm not sure that that parameter actually applies to the AddLink method. It can probably be removed altogether. In any case, I don't think that that is