Any ideas on how to get this info from the LinkObject?

Thanks

2011/12/5 Wagner <wagnerspi@gmail.com>
Hello,

I need to be sure that the source object is a Ticket and the target object is a ITSMConfigItem

how can I do that using the LinkObject?

thanks


2011/12/2 Wagner <wagnerspi@gmail.com>
Yes, I changed some things here, and got it right

thanks for your reply

I'm just trying to change the incidate state from the CI but I'm not going anywhere =/


2011/12/2 Michiel Beijen <michiel.beijen@otrs.com>
Hi Wagner,


On Thu, 1 Dec 2011 14:11:44 -0200, Wagner wrote:

I think the event is wrong, cause the LinkAdd event is being called when
I link a ticket to another ticket, but when I link a ticket to a CI it's
not being called

is there a way to find out which event should I use?

I tested by logging out of Kernel::System::EventHandler every time it is called, and I found the LinkAdd event is executed when you link a ticket to a CI. It really is the correct event.

[Fri Dec  2 14:31:07 2011][Notice][Kernel::System::EventHandler::EventHandler] Running for LinkAdd


--
Mike
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev