I want to run a search that excludes issues with label X but only where that's the only label. This means I want the search result to include issues with label X but only if there are also other labels attached to those issues.
Example:
Issue 1 has labels X, Y and C
Issue 2 has labels Y and C
Issue 3 has label X
I want my search result to include Issues 1 and 2 but exclude 3.
Note that using labels != X seems to exclude Issues 1 and 3, but I want Issue 1 to be included.
Thanks in advance.