Sync ticket between multiple otrs.

Moderator: crythias

Locked
cindy157
Znuny newbie
Posts: 3
Joined: 20 Sep 2013, 11:31
Znuny Version: 3.2.10

Sync ticket between multiple otrs.

Post by cindy157 »

Hi all,
I'm having a problem : I have 2 otrs A and B, when otrs A have a ticket, I want to sync ticket to otrs B.
Could u tell me ideas ?
Thank all.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Sync ticket between multiple otrs.

Post by crythias »

different systemID between OTRS.
But if not, no
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Sync ticket between multiple otrs.

Post by wurzel »

Hi,

I think that could be possible with Webservices. (I never did this)

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
cindy157
Znuny newbie
Posts: 3
Joined: 20 Sep 2013, 11:31
Znuny Version: 3.2.10

Re: Sync ticket between multiple otrs.

Post by cindy157 »

Hi wurzel !
I also have same your idea. But I don't know how to setup for it running.
Could you tell me more and more !!!
Thank you so much !
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Sync ticket between multiple otrs.

Post by ndhvu275 »

wurzel wrote:Hi,

I think that could be possible with Webservices. (I never did this)

Flo
Dear all,

I'm facing the same issue, I'm thinking to use webservice as well. But I don't know to config or I have to develop something? I tried to follow this http://doc.otrs.org/3.2/en/html/webservice_gui.html. But now my 2 OTRSs are still not talk together.

Anyone know any post or link, please share to me. Thanks a lot

Vu Nguyen
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sync ticket between multiple otrs.

Post by jojo »

the out of the box webservice waits for another sytem to connect. So you need to develop a module that connects to the other system
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Sync ticket between multiple otrs.

Post by ndhvu275 »

jojo wrote:the out of the box webservice waits for another sytem to connect. So you need to develop a module that connects to the other system
Hi jojo,

I'm wondering, is it possible a requester of service on OTRS A call a provider (eg: TicketCreate) of service on OTRS B? Do by configure in webserver?

Thanks

Vu
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sync ticket between multiple otrs.

Post by jojo »

this needs development
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
cindy157
Znuny newbie
Posts: 3
Joined: 20 Sep 2013, 11:31
Znuny Version: 3.2.10

Re: Sync ticket between multiple otrs.

Post by cindy157 »

Hi jojo,
Could u give me source code demo. I don't know how to develop it.
Thank u so much !!!!!!
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Sync ticket between multiple otrs.

Post by ndhvu275 »

Hi,

For development, let follow: http://blog.otrs.org/2012/10/03/easy-ti ... #more-1122
Back to an example to sync tickets between 2 OTRS, like: if I udpate/create a ticket in OTRS A, this would be synced in OTRS B. Below is my development:
- In this case, OTRS B is a provider, I create webservice in there
- On OTRS A, I want to catch event 'TicketCreate' to do calling webservice from OTRS B. Then I create a new file in Kernel/System/Ticket/Event/SyncTicket.pm, the coding in this event I will call to webservice OTRS B to update/create ticket when 'TicketCreate' event is happened
- Finally, make a package for it

Is it possible with my path? Do you have any recommand? Please help

Thanks

Vu Nguyen
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sync ticket between multiple otrs.

Post by jojo »

The Generic Interface also provides the possibility to develop invokers as it allows queuing. So you should use the GI Framework and not just an event module
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Sync ticket between multiple otrs.

Post by ndhvu275 »

jojo wrote:The Generic Interface also provides the possibility to develop invokers as it allows queuing. So you should use the GI Framework and not just an event module
Hi jojo,

I will investigate to develop with GI framework. Do you have any link is talking about it like an example? Please give me

Thanks so much

Vu Nguyen
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sync ticket between multiple otrs.

Post by jojo »

have a look at the documents on docs.otrs.org
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked