0
这里有一个简单的例子 - 我有两个JIRA问题,第一个包含/path2/file
,第二个包含path2
没有/
。如果我使用此JQL:text ~ path2
,则只有第二个问题出现在搜索结果中。什么JIRA JQL查找包含字符串路径问题
有没有可以更改的设置,我可以使用的不同JQL,还是其他一些可以使第一个问题显示在搜索结果中的技巧?
注意我现在正在使用最新的JIRA 7.4.4的本地安装。我也明确地重新编制了JIRA,并没有什么区别。这些JQL没有工作之一: text ~ "path2*"
text ~ "path2?"
注意,如果东西改变搜索词,只有字母,它的实际工作 - 它会发现这个词的问题,当一个文件夹/路径/目录
的一部分更新9月12日:
T1 issue contains in description "path2" T2 issue contains in description "path2/file" T3 issue contains in description "/path2/file" T4 issue contains in description "/long/path2/file" T5 issue contains in description "path" T6 issue contains in description "path/file" T7 issue contains in description "/path/file" T8 issue contains in description "/long/path/file" T9 issue contains in description "/long2/path2/file" Issues appearing on JIRA 7.5.0 server (not cloud): T1 T2 T3 T4 T5 T6 T7 T8 T9 JQL 5 6 7 8 text ~ "path" 1 text ~ "path?" 1 2 3 5 6 7 8 text ~ "path*" 1 text ~ "path2" text ~ "path2?" 1 2 3 text ~ "path2*" Summary - T4, T9 never found. T8 found, so text ~ "path*" will match /long/path/file Conclusion: the directory delimiter/is a word break (like whitespace) only when letters are used (T8), not when letters and numbers (T4, T9).