merge tickets based on the email headers, "Message-ID"?

Moderator: crythias

Post Reply
ipguy
Znuny newbie
Posts: 40
Joined: 19 May 2010, 08:29
Znuny Version: 2.3.4

merge tickets based on the email headers, "Message-ID"?

Post by ipguy »

Hi all

Is it possibly to automatically merge open tickets with the same "Message-ID" mail header ?.

As an example, if i have 2, or more, open tickets with the same Message-ID:

Code: Select all

"Message-ID: <190E4DCF8542814D91C39A75A0802E673D6B69EE@EXCHANGE03.mail.com>"
Can I create a filter, or somehow, automatically merge these tickets ?
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: merge tickets based on the email headers, "Message-ID"?

Post by jojo »

Yes you can via Core::Postmaster in Sysconfig


Please do not open 2 tasks for the same question here!
"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
ipguy
Znuny newbie
Posts: 40
Joined: 19 May 2010, 08:29
Znuny Version: 2.3.4

Re: merge tickets based on the email headers, "Message-ID"?

Post by ipguy »

jojo wrote:Yes you can via Core::Postmaster in Sysconfig
Please do not open 2 tasks for the same question here!
apologies, won;t happen again
though, after looking, i'm not sure how I would do that in Core::Postmaster, can you please elaborate ?
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: merge tickets based on the email headers, "Message-ID"?

Post by jojo »

PostmasterFollowUpSearchInReferences
Executes follow up checks on In-Reply-To or References headers for mails that don't have a ticket number in the subject.
"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
ipguy
Znuny newbie
Posts: 40
Joined: 19 May 2010, 08:29
Znuny Version: 2.3.4

Re: merge tickets based on the email headers, "Message-ID"?

Post by ipguy »

jojo wrote:PostmasterFollowUpSearchInReferences
Executes follow up checks on In-Reply-To or References headers for mails that don't have a ticket number in the subject.

perfect !!!! thanks !
earwax
Znuny newbie
Posts: 43
Joined: 07 Dec 2010, 23:54
Znuny Version: 3.0.11
Location: Seattle, WA
Contact:

Re: merge tickets based on the email headers, "Message-ID"?

Post by earwax »

This is great! But what exactly is this checking (sender? subject? message-id?)? What are the downsides of this? Is it possible that a ticket could get merged to the incorrect one(s)?

For example, if user1 creates a new ticket with a subject line of "HELP!". And then user2 creates a new ticket with a subject line of "HELP!" with a different issue, will OTRS merge the two together?
OTRS 3.0.12
Ubuntu Linux 10.04
MySQL
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: merge tickets based on the email headers, "Message-ID"?

Post by jojo »

no it won't... it checks the headers in the mail, if it is a reply to a mail sent by otrs
"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
Post Reply