Ticket Calendar Start Time: set value from Ticket Creation Time
Moderator: crythias
Ticket Calendar Start Time: set value from Ticket Creation Time
Hi,
I wold like to automatically assign dynamic field Ticket Calendar Start Time (if has no value) during creation from Ticket Creation Time. Is it possible?
I wold like to automatically assign dynamic field Ticket Calendar Start Time (if has no value) during creation from Ticket Creation Time. Is it possible?
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
Add a generic agent job, or add the dynamic field to the screen and then via the template hide and prefill it.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
Hi,
Thank you for your reply. I've looked at generic agent job but wasn't able to find a way to copy values between Ticket Creation Time to Ticket Calendar Start Time. I can set only statically Ticket Calendar Start Time.
Could you advise?
Thank you for your reply. I've looked at generic agent job but wasn't able to find a way to copy values between Ticket Creation Time to Ticket Calendar Start Time. I can set only statically Ticket Calendar Start Time.
Could you advise?
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
Ah, you are right. GA does only accept fixed values.
Hum, well you could write a module for that... but why do you need a second field that holds the same value as creation time?
Hum, well you could write a module for that... but why do you need a second field that holds the same value as creation time?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
As in reports I will need to set sometimes different date then creation. As far as I know I cannot change creation time so idea is to use dynamic field and copy values from creation time, eventually change them manually later.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
well, just as a FYI, and unless it matters, web based forms default to the current/now display time and date for dynamic fields, so the mere fact of selecting them/having them selected would be close enough (within the seconds of clicking submit) to the actual create time, that it could be used for something else when you need 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
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: Ticket Calendar Start Time: set value from Ticket Creation Time
crythias,
Thank you for your reply. unfortunately I have to set the time when the ticked is logged using e-mail. Is i possible to read time now() somehow in Postmaster Filter?
Thank you for your reply. unfortunately I have to set the time when the ticked is logged using e-mail. Is i possible to read time now() somehow in Postmaster Filter?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Calendar Start Time: set value from Ticket Creation Time
For the above, you *might* be able to parse the header for a value to set.
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: Ticket Calendar Start Time: set value from Ticket Creation Time
I've actually have done this. But my point is, if there is no time in body, it should be set automatically using now() or arrival time or whatever near now.