Autoreply get a wrong ticketnumber tag at the end

Moderator: crythias

Locked
Trude
Znuny newbie
Posts: 11
Joined: 18 Sep 2015, 17:31
Znuny Version: 5.0.10

Autoreply get a wrong ticketnumber tag at the end

Post by Trude »

Good Morning,
we are using OTRS 5.0.10 and we use 3 Systems on LInux. One Customer System, one Development and one for our extern Development. Now we have an issue i can´t fix. I will try to explain:
There is an old Development Ticket in System 1. Than we want to develope and send an Article to System 2, that the extern Developer get´s the information. When the autoreply for the new generated ticket in System 2 comes back, than the Subject field is filled with the last generated Ticketnumber from System 1- thats totaly wrong!
esp. the Auto Reply Subject: [ORD#xxx0012] RE: [Ticket#xxx0000507] D [...] [DEV#xx0040]
ORD# ist the Ticketnumber from System 2,
Ticket# is the old Ticketnumber from System 1,
and at the and there is a Ticketnumber DEV# this number is the last generated Ticketnumber in the System 1 (we changed the SystemID 3 month ago with splitting the systems in 3, all new tickets in System 1 get DEV# numbers)

So why there is the wrong ticket number at the end?
I checked Sysconfig and
Ticket::NumberGenerator::CheckSystemID is NO, because of the old Tickets, when i switch to YES, than the Autoreply of this example ticket above will go into the wrong Ticket DEV#

What did i wrong? or is this a bug? :(
Thanks for your help.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Autoreply get a wrong ticketnumber tag at the end

Post by jojo »

The TicketHook is also considered on follow up
"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
Trude
Znuny newbie
Posts: 11
Joined: 18 Sep 2015, 17:31
Znuny Version: 5.0.10

Re: Autoreply get a wrong ticketnumber tag at the end

Post by Trude »

The TicketHooks are
System 1: DEV# - old Tickets Ticket#
System 2: ORD# - old Tickets Ticket#

Customer System: Ticket#

is this the reason why there is a third tag at the end in the subject line in autoreply with a wrong Ticketnumber? How can i fix it?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Autoreply get a wrong ticketnumber tag at the end

Post by jojo »

as you changed the TicketHook 3 ont ago, there is no way to fix it for old tickets
"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
Trude
Znuny newbie
Posts: 11
Joined: 18 Sep 2015, 17:31
Znuny Version: 5.0.10

Re: Autoreply get a wrong ticketnumber tag at the end

Post by Trude »

ok, my fault.
So i try should migrate the older Tickets better.
Thanks for the quick answer.
Locked