Re: Event linking a ticket to a CI

Wagner <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <CAO0inon0Z_FAcraukSB+0dBr77hzNOfvTEyo1YccYD7xKGCG=A@mail.gmail.com>
Any ideas on how to get this info from the LinkObject?

Thanks

2011/12/5 Wagner <[email protected]>

> 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 <[email protected]>
>
>> 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 <[email protected]>
>>
>>> 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<http://lists.otrs.org/pipermail/dev>
>>> To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/dev<http://lists.otrs.org/cgi-bin/listinfo/dev>
>>>
>>
>>
>

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.