OTRS Integration

Started by name29, December 13, 2015, 03:37:54 PM

Previous topic - Next topic

name29

Dear all,

I like to develop integration between OTRS and Netxms (as JIRA).


Can someone write me some post about how i can start to develop the module?

I have found the c++ code that do the integration between netxms and JIRA and it's not so hard to change for OTRS but i don't know how to compile my code  :o

Alex Kirhenshtein

You need to create new shared library with custom implementation of HelpDeskLink class. I'm afraid we don't have any documentation on developing modules, but it's pretty much straight forward.

Here is interface definition: https://git.netxms.org/public/netxms.git/blob/refs/heads/develop:/src/server/include/hdlink.h?js=1

You can check existing JIRA implementation:
https://git.netxms.org/public/netxms.git/blob/refs/heads/develop:/src/server/hdlink/jira/jira.cpp?js=1
https://git.netxms.org/public/netxms.git/blob/refs/heads/develop:/src/server/hdlink/jira/jira.h?js=1

name29

Thank you for tour answer.

I see that i need to implement the interface but probably i have some problem with the makefile (sorry but it's my first time)

Victor Kirhenshtein

Hi,

I suggest to just copy makefile from Jira directory and rename files inside as needed. Also, I can create placeholder in our source tree - that way you'll only need to put actual code and it will be built as part of the system.

Best regards,
Victor