We routinely include the SVN version number in the summary of a firmware bug. For example, the summary text might read "<product name> -r24000 <bug description>". There are many issues for version 24000 but when I add a text element "-r24000" to the search, it only shows one issue. The other text around the "-r24000" may differ, but that part is the same for many issues. Why does only one show up in my search?
Hi Bob,
Indeed the - character has a special meaning in JQL. It means to find all issues excluding the ones that match the string after -
Please check. https://confluence.atlassian.com/jira064/performing-text-searches-720416596.html (search for excluded term)
According to the escaping rules for special characters like - please try the query
summary ~ "\\-r24000"
hope this helps!
Regards
Dieter
Correction to my initial post -- if I search for "-r24000" I get all kinds of issues unrealted to version 24000, so I'm assuming that has something to do with the "-" being interpreted as a special (Boolean) character maybe. If I search for just the number "24000" I only get one issue, even though there are many with that number in the title. However, if I search for "r24000" I get the list of issues I am interested in. So that solves my problem but I'm just curious about why searching for "24000" only returns one of many issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.