Infos:
- Used Zammad version: 3.2.x
- Used Zammad installation source: apt package
- Operating system: Ubuntu 18.04 LTS
- Browser + version: n/a
I’m wondering if there is a way to select a substring in the LINK-TEMPLATE field of an object.
For example, we use production numbers for contracts, something like:
[date][iso][contract_id]
When we edit a contract, however, the URL looks more like:
https://example.com/contract/{contract_id}
Production uses the full “production number” format, and to them the contract ID is more or less meaningless. However, I’d like to link the production number to the actual contract in our systems by extracting the contract ID via a substring. Is this possible?
Something like this, assuming a 5 digit contract ID:
https://example.com/contract/#{ticket.production_number[:5]}