[rt-users] Create Ticket Links via Scrip

Brumm, Torsten / Kuehne + Nagel / Ham MI-ID torsten.brumm at Kuehne-Nagel.com
Wed Nov 18 03:19:59 EST 2009


OK, now i found it.

If  $self->TicketObj->AddLink(Type=>'Members',Target=>ID_OF_CHILD); is not working, then $self->TicketObj->AddLink(Type=>'MemberOf',Base=>ID_OF_CHILD); does the trick.

Torsten

-----Ursprüngliche Nachricht-----
Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Brumm,Torsten / Kuehne + Nagel / Ham MI-ID
Gesendet: Mittwoch, 18. November 2009 08:08
An: rt-users at lists.bestpractical.com
Betreff: Re: [rt-users] Create Ticket Links via Scrip

Hi again,
now i tried several times, no succes. It is working fine for all but not for Members, any ideas?

Torsten 

-----Ursprüngliche Nachricht-----
Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Brumm,Torsten / Kuehne + Nagel / Ham MI-ID
Gesendet: Dienstag, 17. November 2009 18:36
An: rt-users at lists.bestpractical.com
Betreff: [rt-users] Create Ticket Links via Scrip

Hi,

another (hopefully) tiny problem. I'm trying to add a ticket link via scrip to a ticket. the link should be of Type Members (Creating a child link to an existing ticket)

My Idea: $self->TicketObj->AddLink(Type=>'Members',Target=>ID_OF_CHILD); but this is not working. I have tried with success the following:

$self->TicketObj->AddLink(Type=>'MemberOf',Target=>ID_OF_CHILD);
$self->TicketObj->AddLink(Type=>'RefersTo',Target=>ID_OF_CHILD);
$self->TicketObj->AddLink(Type=>'ReferedToBy',Target=>ID_OF_CHILD);

All are working but Members is not working. I see at the ticket history: RT_SYSTEM - thats all and nothing inside the Logs

Any Ideas? Is this a typo error?!?

Thanks

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne



_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com _______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com



More information about the rt-users mailing list