Postmaster Filter map IDs instead of names

Moderator: crythias

Post Reply
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

Postmaster Filter map IDs instead of names

Post by schaffel »

Is there a possibility to create a postmaster filter that sets the service or the queue by id and not by name?

From time to time we change the name of a service or rearange them by making a sub service a top level one.
Is there an postmaster filter to set the Service-ID like X-OTRS-ServiceID? Or do I have to add that Header to the /opt/otrs/Kernel/System/PostMaster/NewTicket.pm file?
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
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: Postmaster Filter map IDs instead of names

Post by reneeb »

You need to add those headers in the SysConfig PostmasterX::Headers and add some code in Kernel/System/PostMaster/NewTicket.pm to handle those cases...
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
Post Reply