New child ticket with relationship

Hello,

I’ve been using the code from wiki page CreateChildTicket for some time,
though i modified it to only make new-MemberOf tickets

http://requesttracker.wikia.com/wiki/CreateChildTicket

My code is

this works fine and creates a new ticket with the MemberOF relationship,
I now want to create other relationships.

However if i change that part to new-RefersTo, DependsOn-new or any of
the other relationships, it creates a ticket, but there is no
link/relationship. the only one that works is new-MemberOf

can anyone think of why this might be? Is there anything different about
the relationships?

i’ve drawn a blank.

w.

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz