Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.3.4
-
4.03
-
Description
Doing an advanced search of more than one label presents you with the option of converting to simple mode.
But converting to Simple mode and then running the search generates an error.
to reproduce
- add a labels custom field. Let's call it Tags
- search using this JQL
Tags in (labelA, labelB)
- Click simple to switch to simple mode
- Click Search
Expected result
search runs
More information
The problem lies down in the LabelsCFType code. The "todo" comment is mine
private Object convertStringsToLabels(final Collection<String> labelStrings) { final Set<Label> ret = new LinkedHashSet<Label>(); for (String labelString : labelStrings) { //todo - search input comes through this - in which case it could be multiple labels in one string ret.add((Label) getSingularObjectFromString(labelString)); } return ret; }