Liquid logic markup for ticket tags
답변함
2022년 7월 11일에 게시됨
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개
Ryan P.
Awesome, I'll be trying that out today. Thanks for confirming Dave Dyson
0
Dave Dyson
Yep, that should do it! I've tested in my own account that works perfectly. Nice work!
1
댓글을 남기려면 로그인하세요.