Show UserComment in AgentTicketSearch

Moderator: crythias

Post Reply
dacor
Znuny newbie
Posts: 11
Joined: 03 May 2021, 20:20
Znuny Version: 6.0
Real Name: Daniel Schweiger

Show UserComment in AgentTicketSearch

Post by dacor »

Hi,

I want to add the Comment-field from CustomerUser to AgentTicketSearch-View as Additional Filter, is this possible?

I tried to add "UserComment" to Ticket::Frontend::AgentTicketSearch###DefaultColumns, but nothing changes. Do you have any advice?

Thanks,

Daniel
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Show UserComment in AgentTicketSearch

Post by alexus »

Hi,

You can use only Ticket attributes and Dynamic Fields. If you need to use Customer fields you can map them to Dynamic Field
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
dacor
Znuny newbie
Posts: 11
Joined: 03 May 2021, 20:20
Znuny Version: 6.0
Real Name: Daniel Schweiger

Re: Show UserComment in AgentTicketSearch

Post by dacor »

Thanks for your answer. How can I do this?
dacor
Znuny newbie
Posts: 11
Joined: 03 May 2021, 20:20
Znuny Version: 6.0
Real Name: Daniel Schweiger

Re: Show UserComment in AgentTicketSearch

Post by dacor »

I found a way with Systemconfiguration --> DynamicFieldFromCustomerUser::Mapping. But the value of the customer user field is not showing in the dynamic field. Is there something else to do?
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Show UserComment in AgentTicketSearch

Post by skullz »

1. The value only will be show after ticket create or customer user change.

2. Additionally, you also have to activate Ticket::EventModulePost###4100-DynamicFieldFromCustomerUser

good luck
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Show UserComment in AgentTicketSearch

Post by alexus »

It works only with TicketCreate and TicketCustomer events
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
dacor
Znuny newbie
Posts: 11
Joined: 03 May 2021, 20:20
Znuny Version: 6.0
Real Name: Daniel Schweiger

Re: Show UserComment in AgentTicketSearch

Post by dacor »

Thanks!
Post Reply