Hey Guys,
I am bit lost after OTRS 5 to Znuny 7.1 migration. While there was no documentation or any change log i try to setup Znuny manualy step by step to meet mirror settings with "old" OTRS.
For now i try to put a close ticket timestamp for customer to see but can't figure it out. I would like to also enable customer to search/print and have that close ticket timestamp visible.
Are there some known steps to proccess that?
I count on Your experience.
Piotr
Close ticket timestamp on Customer Portal
Moderator: crythias
-
- Znuny newbie
- Posts: 77
- Joined: 13 Apr 2017, 11:27
- Znuny Version: 7.1.7
- Real Name: Daniel
- Company: Komputronik S.A.
Re: Close ticket timestamp on Customer Portal
I hope the screenshot will help you find the settings you need.
DanielYou do not have the required permissions to view the files attached to this post.
Re: Close ticket timestamp on Customer Portal
Hey,
Thanks for reply. I've been in that section looking for a solution. For now i have:
And still all customer gets is:
Thanks for reply. I've been in that section looking for a solution. For now i have:
And still all customer gets is:
You do not have the required permissions to view the files attached to this post.
-
- Znuny newbie
- Posts: 77
- Joined: 13 Apr 2017, 11:27
- Znuny Version: 7.1.7
- Real Name: Daniel
- Company: Komputronik S.A.
Re: Close ticket timestamp on Customer Portal
Hi
this setting produces close time in CSV file.
Daniel Lisiecki
this setting produces close time in CSV file.
Daniel Lisiecki
You do not have the required permissions to view the files attached to this post.
Re: Close ticket timestamp on Customer Portal
Thanks for a tip lis9.
I figured it out in case of searchcsv but still looking for a "Closed" field per ticket in let say TicketZoom section. I wonder if its even possible.
According to viewtopic.php?t=19274 close ticket timestamp is a part of ticket_history table "th.history_type_id = 27".
I also try to find a hint on how to create custom field so i could make ticket close timestamp from scratch. Maybe you can push me in the right direction?
I figured it out in case of searchcsv but still looking for a "Closed" field per ticket in let say TicketZoom section. I wonder if its even possible.
According to viewtopic.php?t=19274 close ticket timestamp is a part of ticket_history table "th.history_type_id = 27".
I also try to find a hint on how to create custom field so i could make ticket close timestamp from scratch. Maybe you can push me in the right direction?
-
- Znuny superhero
- Posts: 658
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Close ticket timestamp on Customer Portal
The deafult api did not return close time..
the closest is last changed time.
1. of course, updating closed ticket will update the changed time.
Znuny_HomeCustom/Kernel/Output/HTML/Templates/Standard/CustomerTicketZoom.tt
2. The long way, is create event module.
Example: https://github.com/znuny/Znuny/blob/dev ... nt/Test.pm
Custom module should
a) check the event (TicketStateUpdate)
b) check the current ticket state value (closed**).
b) generate current timestamp.
b) update ticket dynamic field with the timestamp.
p/s: the custom event need to be register via xml.
good luck
the closest is last changed time.
1. of course, updating closed ticket will update the changed time.
Znuny_HomeCustom/Kernel/Output/HTML/Templates/Standard/CustomerTicketZoom.tt
Code: Select all
<li>
<span class="Key">[% Translate("Changed") | html %]:</span>
<span class="Value" title="[% Translate(Data.Changed) | html %]">[% Translate(Data.Changed) | html %]</span>
</li>
2. The long way, is create event module.
Example: https://github.com/znuny/Znuny/blob/dev ... nt/Test.pm
Custom module should
a) check the event (TicketStateUpdate)
b) check the current ticket state value (closed**).
b) generate current timestamp.
b) update ticket dynamic field with the timestamp.
p/s: the custom event need to be register via xml.
good luck
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English