Hi,
I’m trying to set PostMaster filter which will set value for accounting time. Unfortunately I can’t find X-OTRS-AcountingTime.
I found somewhere on forum, there is no way to achieve this without creating dynamic field which will replace TimeUnits. I’ve done this and now I can copy value from my e-mail to the field.
However I don’t know how to achieve similar behaviour for the dynamic field like for default TimeUnits. Basically when I add note to a ticket, I can add time in TimeUnits field and this will be calculated (added) to other values.
Unfortunately dynamic field just shows previous value, which I can change, but is not calculated for each activity and summed at the end.
As any way to achieve my goal? Or maybe there is a way to copy value from dynamic field to TimeUnits once the e-mail arrives?
Accounting time and PostMaster Filter
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Accounting time and PostMaster Filter
how do you calculate a time value for a received email?
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
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
Re: Accounting time and PostMaster Filter
This is just text dynamic field with RegEx ^[0-9]+$
When e-mail is received I copy digit value to the dynamic field, and this (thanks to your last reply) is working well.
However I don't know if this is possible to set this value separately for each note and sum for whole ticket or copy value from e-mail to default OTRS TimeUnit which does exactly what I'm looking for.
When e-mail is received I copy digit value to the dynamic field, and this (thanks to your last reply) is working well.
However I don't know if this is possible to set this value separately for each note and sum for whole ticket or copy value from e-mail to default OTRS TimeUnit which does exactly what I'm looking for.