Jira中的JQL查询搜索

问题描述

由于以下指定的错误,我无法在Jira中搜索此项目。

Query: project = 'foo' and description ~ 'testing:'test''

Result: Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'test'. (line 1,character 7

4)

我知道,双引号可以解决问题,但在某些情况下(如以下情况)无效。

Query: project = 'foo' AND description ~ "TypeError: can only concatenate str (not "nonetype") to str"

Result: Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'nonetype'. (line 1,character 106)

有人给我一个条件,无论内部给出什么条件,该条件都可以用作字符串搜索

注意:搜索语句不能在我的项目中替代。

解决方法

您仍然使用错误的引号,请尝试这样使用交替引号('/“)

project = 'foo' AND description ~ 'TypeError: can only concatenate str (not "NoneType") to str'

第一个查询

project = 'foo' and description ~ "testing:'test'"