您好,我正在尝试使用JIRA中的快速搜索来搜索任何评论中没有“hello”文本的所有项目。
我尝试过使用: 评论!〜“你好”
但它不起作用。提前感谢您的时间和帮助。
答案 0 :(得分:1)
您无法使用快速搜索功能。快速搜索将尝试找出您的输入,如果它接收文本(而不是发出ID),它将自由搜索它。当您在快速搜索中键入comment !~ "hello"
时,请注意您转到搜索页面,搜索字词将被解析为text ~ "comment !~ \"hello\""
。
如果您转到搜索页面而不是使用快速搜索并在过滤器中键入短语comment !~ "hello"
,它应该可以正常工作。
答案 1 :(得分:0)
如前所述,评论!〜“hello”在过滤器中无法正常工作。
而是使用正面的子查询/过滤器,并从最终查询中减去它的结果。
过滤“已关闭并已批准”
status in (rejected, closed) and comment ~ "close approved"
过滤“已关闭但尚未批准”
reporter = currentUser() and status in (rejected, closed) and filter != "Closed and approved"