Hi
I have the following in my email body that should be parsed to a new ticket:
...
Discard: 0
SH: 0
...
These dynamic fields are type "checkbox"
I use the following PostMaster filter:
Discard:\s*(?<Discard>.*?)\n?SH:\s*(?<SH>.*?)\n
Set email header: X-OTRS-DynamicField-Discard
Set value: [**\Discard**]
Set email header: X-OTRS-DynamicField-SH
Set value: [**\SH**]
However this doesn't work, the checkboxes are always unchecked when a new ticket is created.
Do you have a clue?
Best,
Thomas
Set email header: X-OTRS-DynamicField-SH
Set value: [**\SH**]
PostMaster filter and dynamic field (checkbox)
Moderator: crythias
-
- Znuny newbie
- Posts: 76
- Joined: 26 Sep 2016, 10:50
- Znuny Version: 5.0.12
- Company: MPImF Heidelberg
PostMaster filter and dynamic field (checkbox)
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
-
- Znuny newbie
- Posts: 76
- Joined: 26 Sep 2016, 10:50
- Znuny Version: 5.0.12
- Company: MPImF Heidelberg
Re: PostMaster filter and dynamic field (checkbox)
BTW
I tried with
0
1
as values for the dynamic field in the mail, but none of them worked
I tried with
0
1
as values for the dynamic field in the mail, but none of them worked
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
-
- Znuny newbie
- Posts: 76
- Joined: 26 Sep 2016, 10:50
- Znuny Version: 5.0.12
- Company: MPImF Heidelberg
Re: PostMaster filter and dynamic field (checkbox)
Does nobody hava a clue?
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
Re: PostMaster filter and dynamic field (checkbox)
Hi,
If you klick the checkbox manually, what is in the ticket history? I think it is value "Checked" or "checked" (I am not sure)
Florian
If you klick the checkbox manually, what is in the ticket history? I think it is value "Checked" or "checked" (I am not sure)
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.