[SOLVED] Set ticket dynamic field with customer user value

Moderator: crythias

Post Reply
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

[SOLVED] Set ticket dynamic field with customer user value

Post by HervE »

Hello forum,

Is it possible to set a ticket dynamic field with a customer user value at ticket creation?

I've got a ticket dynamic field, named "entity", in which I want to put the customer ID at the step of ticket creation.

I thought of 2 ways to do that:
1) Generic Agent
2) SysConfig > Ticket::TicketDynamicFieldDefault###Element1

In both ways I stuck to this: how to set a variable value?
Is there, like in the templates, such a thing like <OTRS_CUSTOMER_CustomerID>?

Best Regards,
HervE
Last edited by HervE on 26 Sep 2014, 23:53, edited 1 time in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Set a ticket dynamic field with a customer user value

Post by jojo »

this can be done via DynamicFieldFromCustomerUser in 3.3.x
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Set a ticket dynamic field with a customer user value

Post by HervE »

It works fine, thank you!

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Post Reply