Use Variable as Default Value

Hi,

Is there a way to set default fields on a ticket using variables? I tried to add variables to the default value field on a ticket object so customers wouldn’t have to fill in their address every time, but it just shows the variable reference. e.g. #{user.address}.

Thank you.

Infos:

  • Used Zammad version: 5.2.x
  • Used Zammad installation type: Debian container
  • Operating system: Debian 11
  • Browser + version: Chrome 105.0.5195.127

Expected behavior:

  • Variable value shows in new ticket form when set as object default

Actual behavior:

  • Variable reference appears in ticket form instead of value

Steps to reproduce the behavior:

  • Enter variable reference in any object of the ticket type
1 Like

With Zammad 5.3 you can set values based on variables via e.g. triggers.
This of course only applies if the variable is avaiable the moment the trigger fires.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.