Hi community,
I use a labels wildcard search [1] because we have some issues regarding standardized labeling. My problem is I find wrong issues.
My query:
issueFunction IN issueFieldMatch("Project = SomeProject AND Type = SomeType", labels, "(?i).*desiredLabel*")
I have 3 queries:
The 4 and 5 char long queries are finding the right tickets/labels. The problem is the 2-chars long string query.
I get tickets with partial strings like "this-label" or "triple-x" but not what I want like "*ix*". Even if I remove the first part "ix*" I get the same results. Only if I remove the wildcards completely I get the right results, but I need that wildcard/RegEx search. Anyone knows what I can do?
I tried:
Maybe the ScriptRunner does not search only in "labels"? Because eventually the partial string appears in title, another (custom) field or description. Probably also in linked tickets.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.