简体   繁体   中英

JIRA JQL for query contains does not work with the letter “A”

Here is my JQL :

project = XXX AND issuetype = Bug AND status in (Open, 'In Progress', Reopened) and summary  ~ '\\\\[A\\\\]'

JIRA return no result even I have tickets that contain the text "[A]" in the summary. It only doesn't work for "[A]", if i try with other letters, it works. For example, the jql below works :

project = XXX AND issuetype = Bug AND status in (Open, 'In Progress', Reopened) and summary  ~ '\\\\[B\\\\]'

I think the underlying search indexing mechanism (Lucene) doesn't store the square brackets. See this answer for a similar problem with angle brackets. Not ideal, but you could use an alternative series of characters to represent [A]. Also not ideal, but you could store [A] in a custom field.

There is nothing about "[" brackets.
Search for all issues having text "A"
Search for all issues having text "B"
You can see that it is about character "A".

" A " is a reserve word in Jira.

You can find more reserve words in the documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM