Type: Function
Function: CONTAINS
Syntax: CONTAINS(list, term|term_list)
Description: Returns true
if the list contains the provided value or any of the provided values (if an array is provided).
Sample usage:
CONTAINS(label_names, "bug")
returns true iflabel_names
contains thebug
label.CONTAINS(label_names, ["bug", "enhancement"])
returnstrue
iflabel_names
contains eitherbug
,enhancement
or both.CONTAINS(assignee_usernames, "johndoe")
returnstrue
ifjohndoe
is in the list of assignees, otherwise it returnsfalse
.
โMisc.:
โlist
- Seen as collections of comma separated values.