The problematic queries that return no records, when a "basic" search with similar filters does return records:
- issueFunction in issueFieldMatch("project in (MyProject)", "labels", "EXISTING-LABEL")
- issueFunction in issueFieldMatch("project in (MyProject)", "labels", "EXISTING-LABEL-WILDCARD-*")
The goal here is to use the wildcard (*) and do regex for a base string in a set of labels we've defined. That is why we want to use issueFiledMatch instead of a basic query with a pre-defined checklist of labels.
The above queries fail against "MyProject", but work against other Jira projects managed by the same instance.