Extract last 8 char from subject and use as ticket number as FollowUp ticket

Moderator: crythias

Post Reply
immateriale
Znuny newbie
Posts: 1
Joined: 28 Jan 2019, 11:09
Znuny Version: 5.0.11
Real Name: Emanuele
Company: I.S.I. Line Srl

Extract last 8 char from subject and use as ticket number as FollowUp ticket

Post by immateriale »

Hi all,

i receive a notification email from other system that i can't control/modify,
that send me email with my OTRS ticket number in subject but without "#" chat before ticket number, so OTRS didn't perform follow-ups and create a new ticket instead update existing one.

Can you help me?
Is possible to search ticket without "#" char in subject line? or is possible to extract ticket number from subject line (last eight char) and set some X-OTRS-field in email header in a postmaster filter?


Thanks a lot for your help and suggestions,
Emanuele
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Extract last 8 char from subject and use as ticket number as FollowUp ticket

Post by crythias »

you might try (\d\d\d\d\d\d\d\d)$ as a regex filter and [***] where you want to set it.
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
Post Reply