Hi Explore Experts,
I'm trying to set up a specific attribute and I was hoping someone could help me. I need to achieve the following:
in my query I don't want to include tickets that contain tag1, tag2, tag3. However, I want to include tickets that have both tags: tag1 and tag4 in them. So I don't want the tag1 on it's own, however, I want tickets in my query that have both tag1 and tag4
Tried few variations but non of them works.
Any advise how I can achieve that would be very much appreciated.
Many thanks
Hello Vladimir,
If you want to create an attribute, I would recommend that you try this formula :
IF (INCLUDES_ALL([Ticket tags], "tag1", "tag4")
AND NOT(INCLUDES_ANY([Ticket tags], "tag2", "tag3")))
THEN TRUE
ELIF (NOT(INCLUDES_ANY([Ticket tags], "tag1", "tag2", "tag3")))
THEN TRUE
ELSE FALSE
ENDIF
So you would select TRUE to see tickets that have tag1 AND tag4, or all tickets that don’t have tag1 (on its own), tag2, or tag3
I hope this helps!