Text Template with Value out of ticket

Hi Community,

is it possible to fill in values from custom objekts into to a text template ?

Example:
Ticket includes customobject = Internalnumberwhatever with the value 42
Texttemplate calles with ::test should write 42 into my message.

https://zammad-admin-documentation.readthedocs.io/en/latest/manage-text-modules.html

There its an example how to call names but how to call customobject ?

Greetings :slight_smile:

Have you tried to access it using the name given during custom object creation? For example, if you create a field named internal_number on organization, you should access it with #{ticket.organization.internal_number} on text modules. That’s how I would go for it.

1 Like

hi @edneymatias

thanks for the hint, since i created the object under ticket its only #{ticket.internal_number} :slight_smile:

I believe so…let me know if it worked.

Hi, sorry didnt mention that it worked :slight_smile:

1 Like

Glad to know, good luck!

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