OTRS is creating new tickets when it should be updating a ticket

Moderator: crythias

Locked
klabarre
Znuny newbie
Posts: 3
Joined: 03 Jun 2016, 20:53
Znuny Version: 4.0000

OTRS is creating new tickets when it should be updating a ticket

Post by klabarre »

My client uses ZenDesk and we'd like to set it up so that he creates a ticket in his system, which in turn sends an email to our OTRS helpdesk. This should create a ticket in OTRS and we can then deal with it, respond, etc. Everything seems to be working, except for the fact that every response to update the ticket from ZenDesk creates a NEW ticket instead of updating an existing ticket in OTRS. I'm guessing there is something in the email headers that's triggering this? What needs to be done to get this to work properly?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS is creating new tickets when it should be updating a ticket

Post by reneeb »

The other system should keep your ticket number in the subject. Or you could check these Sysconfig options in Ticket -> Core::PostMaster:

* PostmasterFollowUpSearchInReferences
* PostmasterFollowUpSearchInBody
* PostmasterFollowUpSearchInAttachment
* PostmasterFollowUpSearchInRaw

You need to know if Zendesk uses anything to find out to which ticket the mail belongs to...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS is creating new tickets when it should be updating a ticket

Post by reneeb »

Or maybe you can use the "ExternalTicketNumberRecognition" feature... then you can store Zendesks ticket number in a dynamic field.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
schulmann
Znuny wizard
Posts: 477
Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.11
Real Name: Schulmann

Re: OTRS is creating new tickets when it should be updating a ticket

Post by schulmann »

klabarre wrote:What needs to be done to get this to work properly?
The ZenDesk should set the smtp header "In-Reply-To" or "References" accordingly (RFC 5322 Chapter 3.6.4).
Znuny6/Debian/ESXi
Locked