Use custom user fields in trigger



Gepostet 01. Juli 2022

We can see that it's possible to use custom ticket fields in triggers via

{{ticket.ticket_field_replacewithcustomfieldID}}

However we can't find any information about doing the same with custom user fields. We've tried several guesses and couldn't get it working. Is this possible?


0

3

3 Kommentare

It's not possible to natively use custom user fields (unlike you can use custom ticket fields). 
However, my way around is using tags. You have to make a separate trigger for each “custom user field” value though which is a bit hectic, depends on how many values you have… but it is doable and it works.


If > ticket tags contain…. then ….

Let me know if that helps

0


Is it possible to use a placeholder for a custom user field like this? My goal is to have a custom organization field flow to the ticket field when an email comes in.

1


Fabulous! Thanks, Ahmed. I wasn't able to find that placeholders article via web search. It would be really great to have something within the app pointing me to this content when I need it - like here when defining a trigger body:

Or equally heplful, even just adding an example like this to the list:

{{current_user.custom_fields.your_field_key}}

0


Melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post