WIQL“不包含单词”返回误报
我正在运行一个包含以下内容的 WIQL 查询:
"And [Microsoft.VSTS.Common.AcceptanceCriteria] Not Contains Words '*Given*When*Then*'";
我希望它不会返回任何包含字符串“Given”、后跟“When”、后跟“Then”的 AcceptanceCriteria。但是我在结果中收到了这个项目:
"Microsoft.VSTS.Common.AcceptanceCriteria":"<div></div><div><b>Given</b></div><div>Frontier has to submit the replenishment order creation request to Maestro</div><div><b>When</b></div><div>Prophet sends the replenishment order recommendation via REPLENORD feed</div><div><b>Then</b></div><div>Frontier should be able to determine and remove the logic to include the PLANNER_ID / SCS_ID as mandatory information needed for replenishment order creation</div>"
我使用这个错误吗?
I am running a WIQL query that contains this:
"And [Microsoft.VSTS.Common.AcceptanceCriteria] Not Contains Words '*Given*When*Then*'";
I would expect this to not return any AcceptanceCriteria that contain the string "Given" followed by "When" followed by "Then". However I am receiving this item in the results:
"Microsoft.VSTS.Common.AcceptanceCriteria":"<div></div><div><b>Given</b></div><div>Frontier has to submit the replenishment order creation request to Maestro</div><div><b>When</b></div><div>Prophet sends the replenishment order recommendation via REPLENORD feed</div><div><b>Then</b></div><div>Frontier should be able to determine and remove the logic to include the PLANNER_ID / SCS_ID as mandatory information needed for replenishment order creation</div>"
Am I using this wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用查询运算符
包含单词
或不包含单词
使用通配符进行搜索时(*
),您只能在部分单词或短语的末尾使用通配符。在您的情况下,您设置的表达式 (
*Given*When*Then*
) 显然不遵守此限制。所以,这是一个错误的表达。有关更多详细信息,您可以参阅 本文档。
When using the query operators
Contains Words
orDoes Not Contain Words
to search with the wildcard character (*
), you can only use the wildcard character at the end of a partial word or phrase.In your case, the expression you set (
*Given*When*Then*
) obviously does not obey this restriction. So, it is a wrong expression.For more details, you can see this document.