Using object variables from user in ticket

Hello,

Im trying to add an Link to our CRM in every ticket with the customers id. In our application the customer_id is also the variable user.login.

I tried to add a ticket object with the format: Text ; default :#{user.login} and as Link-template: https://xxxxx.xxxxxxxxx/customers/open?customer_nr=#{user.login}

but it doesn’t work. Does someone have expericenes with variables from another object?

  • Used Zammad version: 4.1.
  • Used Zammad installation type: (source, package, docker-compose, …) package
  • Operating system: debian
  • Browser + version: chrome 91.0.4472.164

Expected behavior:

take variable #{user.login} from user object and use it in ticket object

Actual behavior:

textfield is: #{user.login}
Link is: https://xxxxx.xxxxxxxxx/customers/open?customer_nr=-

Steps to reproduce the behavior:

Yeah sorry that won’t work as of now.
The field required a value in order for it to show the link button.

I’m not even sure if it’s dynamic enough for your use case.

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