OTRS 6 / AutoMerge by Regex search

Hello again, we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic". Right now, i have to manually search for the existing ticket and merge it. How can i automate this? With the Postfilter or Generic Agent? A simple example would be awsome. Cheers, Mario

Hi Mario, you could do this with the ExternalTicketNumber sysconfig settings. You need a dynamic field where the order number is stored. Then you can define in the sysconfig setting how OTRS can find the order number (it's a regular expression) and where to store it... Cheers, Renée Am 22.02.19 um 09:10 schrieb :
Hello again,
we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic".
Right now, i have to manually search for the existing ticket and merge it.
How can i automate this? With the Postfilter or Generic Agent?
A simple example would be awsome.
Cheers, Mario --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de

Hello Renee,
that works pretty well. Thanks.
Can i also control the folow up state? Right now the tickets get
unlocked. But i want to control by the subject if they should be
unlocked or untouched.
Any ideas on that? Is this a job for the postmaster filter?
Thanks,
Mario
On Fri, Feb 22, 2019 at 9:17 AM Renee B
Hi Mario,
you could do this with the ExternalTicketNumber sysconfig settings. You need a dynamic field where the order number is stored. Then you can define in the sysconfig setting how OTRS can find the order number (it's a regular expression) and where to store it...
Cheers, Renée
Am 22.02.19 um 09:10 schrieb :
Hello again,
we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic".
Right now, i have to manually search for the existing ticket and merge it.
How can i automate this? With the Postfilter or Generic Agent?
A simple example would be awsome.
Cheers, Mario --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

PostMaster::PreFilterModule###2-Match seems to do the trick.
How can i add a "PostMaster::PreFilterModule###3-Match" config?
I can only choose up to ###2-Match.
Thanks,
Mario
On Wed, Feb 27, 2019 at 11:24 AM Ml Ml
Hello Renee,
that works pretty well. Thanks.
Can i also control the folow up state? Right now the tickets get unlocked. But i want to control by the subject if they should be unlocked or untouched.
Any ideas on that? Is this a job for the postmaster filter?
Thanks, Mario
On Fri, Feb 22, 2019 at 9:17 AM Renee B
wrote: Hi Mario,
you could do this with the ExternalTicketNumber sysconfig settings. You need a dynamic field where the order number is stored. Then you can define in the sysconfig setting how OTRS can find the order number (it's a regular expression) and where to store it...
Cheers, Renée
Am 22.02.19 um 09:10 schrieb :
Hello again,
we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic".
Right now, i have to manually search for the existing ticket and merge it.
How can i automate this? With the Postfilter or Generic Agent?
A simple example would be awsome.
Cheers, Mario --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Hi. On mine the 3rd example is ticket reject. I just hijacked it and
changed the module to match. Worked fine. To add more I believe you have e
to add them as a module yourself.
On Wed, 27 Feb 2019, 11:23 Ml Ml,
PostMaster::PreFilterModule###2-Match seems to do the trick.
How can i add a "PostMaster::PreFilterModule###3-Match" config?
I can only choose up to ###2-Match.
Thanks, Mario
On Wed, Feb 27, 2019 at 11:24 AM Ml Ml
wrote: Hello Renee,
that works pretty well. Thanks.
Can i also control the folow up state? Right now the tickets get unlocked. But i want to control by the subject if they should be unlocked or untouched.
Any ideas on that? Is this a job for the postmaster filter?
Thanks, Mario
On Fri, Feb 22, 2019 at 9:17 AM Renee B
wrote:
Hi Mario,
you could do this with the ExternalTicketNumber sysconfig settings. You need a dynamic field where the order number is stored. Then you can
define
in the sysconfig setting how OTRS can find the order number (it's a regular expression) and where to store it...
Cheers, Renée
Am 22.02.19 um 09:10 schrieb :
Hello again,
we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic".
Right now, i have to manually search for the existing ticket and merge it.
How can i automate this? With the Postfilter or Generic Agent?
A simple example would be awsome.
Cheers, Mario --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Look here
https://blog.otrs.com/2016/12/21/using-postmaster-filters-raw-emails/
Check out the attachment at the bottom. I believe it just goes into the
config XML folder. Will be testing later. Obviously you'll need to adjust
it to your needs.
On Thu, 28 Feb 2019, 05:37 Anthony F McInerney,
Hi. On mine the 3rd example is ticket reject. I just hijacked it and changed the module to match. Worked fine. To add more I believe you have e to add them as a module yourself.
On Wed, 27 Feb 2019, 11:23 Ml Ml,
wrote: PostMaster::PreFilterModule###2-Match seems to do the trick.
How can i add a "PostMaster::PreFilterModule###3-Match" config?
I can only choose up to ###2-Match.
Thanks, Mario
On Wed, Feb 27, 2019 at 11:24 AM Ml Ml
wrote: Hello Renee,
that works pretty well. Thanks.
Can i also control the folow up state? Right now the tickets get unlocked. But i want to control by the subject if they should be unlocked or untouched.
Any ideas on that? Is this a job for the postmaster filter?
Thanks, Mario
On Fri, Feb 22, 2019 at 9:17 AM Renee B
wrote:
Hi Mario,
you could do this with the ExternalTicketNumber sysconfig settings.
You
need a dynamic field where the order number is stored. Then you can define in the sysconfig setting how OTRS can find the order number (it's a regular expression) and where to store it...
Cheers, Renée
Am 22.02.19 um 09:10 schrieb :
Hello again,
we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic".
Right now, i have to manually search for the existing ticket and merge it.
How can i automate this? With the Postfilter or Generic Agent?
A simple example would be awsome.
Cheers, Mario
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Hi just to follow up. Don't bother checking that link.
Goto Kernel/Config/Files/XML look in Ticket.xml
Create a new Whatever.xml with copied entries of match 1 etc as you need.
You have to rebuild the db to apply the changes. I've been waiting on
confirmation that the db is rebuild is non-destructive.
Thanks!
On Thu, 28 Feb 2019 at 06:41, Anthony F McInerney
Look here https://blog.otrs.com/2016/12/21/using-postmaster-filters-raw-emails/ Check out the attachment at the bottom. I believe it just goes into the config XML folder. Will be testing later. Obviously you'll need to adjust it to your needs.
On Thu, 28 Feb 2019, 05:37 Anthony F McInerney,
wrote: Hi. On mine the 3rd example is ticket reject. I just hijacked it and changed the module to match. Worked fine. To add more I believe you have e to add them as a module yourself.
On Wed, 27 Feb 2019, 11:23 Ml Ml,
wrote: PostMaster::PreFilterModule###2-Match seems to do the trick.
How can i add a "PostMaster::PreFilterModule###3-Match" config?
I can only choose up to ###2-Match.
Thanks, Mario
On Wed, Feb 27, 2019 at 11:24 AM Ml Ml
wrote: Hello Renee,
that works pretty well. Thanks.
Can i also control the folow up state? Right now the tickets get unlocked. But i want to control by the subject if they should be unlocked or untouched.
Any ideas on that? Is this a job for the postmaster filter?
Thanks, Mario
On Fri, Feb 22, 2019 at 9:17 AM Renee B
wrote: Hi Mario,
you could do this with the ExternalTicketNumber sysconfig settings. You need a dynamic field where the order number is stored. Then you can define in the sysconfig setting how OTRS can find the order number (it's a regular expression) and where to store it...
Cheers, Renée
Am 22.02.19 um 09:10 schrieb :
Hello again,
we have tickets with a unique Order numbers in the Body/Text. Based on that order number we have incoming Ticket "traffic".
Right now, i have to manually search for the existing ticket and merge it.
How can i automate this? With the Postfilter or Generic Agent?
A simple example would be awsome.
Cheers, Mario --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
participants (3)
-
Anthony F McInerney
-
Ml Ml
-
Renee B