Log inSkip to main contentSkip to sidebar
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Jira seems to treat the underscore character to be identical to a space character.
Search query for exact phrases using underscore return results as the same phrase using a space, for example:
Searching for text ~ "\"END_OF\"" returns: "End of" instead of the exact "End_of" (Jira is considering underscore as a regular space character);
This behavior is true for sentences with multiple underscores as well
Steps to Reproduce
Navigate to Jira Advanced issue search (e.g. on GSAC);
Search for any phrase containing an Underscore (e.g. text ~ "\"END_OF\"");
Displayed results will include phrases with space between words instead of underscore (e.g. "End Of" instead of "End_of");
Tried the syntax variation: text ~ "\"END\\_OF\"", just to be sure that Jira would not consider underscore as a reserved character;
Expected Results
Search results for exact phrase syntax should return the exact term searched (even if it includes an underscore);
Actual Results
Jira is treating underscore the same as a space character, returning search results that use a space instead of an underscore between words, when using the "exact phrase" syntax.