Recent searches


No recent searches

Liquid logic markup for ticket tags

Answered


Posted Jul 11, 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 comments

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

1


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

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post