Liquid logic markup for ticket tags

Respondidas


Publicado 11 jul 2022

Basically I'm trying to mimic a condition for "Tags - Contains at least one of the following - 'foobar'" but as liquid markup. Is there a way for a liquid `{% if %}` to look at ticket tags for the presence of a specific tag? I'm not finding this specific answer in docs / other posts, but piecemealing various things I'm wondering if this is it;

{% if ticket.tags contains 'foobar' %}

 


0

2

2 comentarios

Awesome, I'll be trying that out today. Thanks for confirming Dave Dyson

0


Hi Ryan,
 
Yep, that should do it! I've tested in my own account that works perfectly. Nice work!

1


Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación