NetXMS Support Forum

English Support => Feature Requests => Topic started by: name29 on December 13, 2015, 03:37:54 PM

Title: OTRS Integration
Post by: name29 on December 13, 2015, 03:37:54 PM
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
Title: Re: OTRS Integration
Post by: Alex Kirhenshtein on December 14, 2015, 11:58:17 AM
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
Title: Re: OTRS Integration
Post by: name29 on December 14, 2015, 12:03:49 PM
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)
Title: Re: OTRS Integration
Post by: Victor Kirhenshtein on December 17, 2015, 11:56:31 AM
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