如何在JIRA中的文本字段中搜索多个可能的值

时间:2019-03-05 21:19:05

标签: jql

根据Atlassian文档,您可以搜索文本字段中包含的单词,如下所示:

description ~ term

它还表示您可以像这样对术语进行分组:

description ~ (term OR "different thing")

但是当我尝试这样做时,它表明语法是错误的。

我想这样做,但是要进行分组(因为我将有2个以上的术语,并且我想使查询易于阅读且简短):

description ~ term OR description ~ "different thing"

2 个答案:

答案 0 :(得分:1)

说明不支持列表...

enter image description here

说明不支持=运算符。...

enter image description here

我认为通过使用...,您对JQL的问题已经有了最佳答案。

description ~ “term” OR description ~ “different thing”

尽管,优先级字段可以使用列表方法,但并非每个字段都可以使用列表选项...

enter image description here

答案 1 :(得分:1)

这似乎可以满足您的要求:

description ~ ("term OR different thing")