issueFieldMatch returns no results

Viewed 277

If I search for:

project=cp and summary ~ "Bridge"

I get 52 results. However, if I search for:

issueFunction in issueFieldMatch("project=CP", "summary", "Bridge")

I get 0 results.

I don't have admin access, so I can't look at the logs to try to debug this. Any ideas?

1 Answers

Check and compare the issues that are found by the first query. Do they really contain "Bridge" word?

There are two things that might affect your search of the latter query:

  • stemming -- summary ~ Bridge can find all issues using "bridging" while the latter query not
  • case sensitivity -- please note that the latter query is case sensitive and won't find summaries with "bridge"

To search summaries in case insensitive way, use this instead:

issueFunction in issueFieldMatch("project=CP", "summary", "(?i)Bridge")
Related