NOT_CONTAINS
Tom Azernour avatar
Written by Tom Azernour
Updated over a week ago

Type: Function

Function: NOT_CONTAINS

Syntax: NOT_CONTAINS(list, term|term_list)

Description: Returns true if the list excludes the value or all of the values (if an array is provided).

Sample usage:

  • NOT_CONTAINS(label_names, "bug") returns true if the label_names field value excludes the “bug” label.

  • NOT_CONTAINS(label_names, ["bug", "enhancement"]) returns true if the label_names field value excludes both the “bug” and “enhancement” labels

  • NOT_CONTAINS(assignee_usernames, "johndoe") returns true if the assignee_usernames field value excludes the “johndoe” username.

Did this answer your question?