[dev] Event linking a ticket to a CI
wagnerspi at gmail.com
Mon Dec 5 15:51:32 GMT 2011
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?
2011/12/2 Wagner <wagnerspi at 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 at 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
>> OTRS mailing list: dev - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/**pipermail/dev<http://lists.otrs.org/pipermail/dev>
>> To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/dev<http://lists.otrs.org/cgi-bin/listinfo/dev>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev