使用“done"排除父项的查询任务 [英] Query that excludes parents with "done" tasks

查看:27
本文介绍了使用“done"排除父项的查询任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在 TFS 2015 中使用以下参数设置了一个查询:

I currently have a query set up in TFS 2015 with the following parameters:

  • 工作项类型 = [任何]

AND

  • 状态<>完成

AND

  • 分配给 = Derek Antrican

这运行良好,但目前它将继续显示我已完成任务的父项(因为另一个 tfs 成员尚未完成该父项的任务).我想排除没有分配给我但尚未完成的任务的父项.所以最终得到这样的结果:

This is working well, but currently it will continue to show parent items that I have completed tasks for (because another tfs member has yet to complete a task for that parent). I would like to exclude parent items that have no more tasks assigned to me that are yet to be completed. So ending up with something like this:

  • 工作项类型 = 任务

AND

  • 工作项类型 = 产品待办列表、错误 IF 子项分配给 = Derek Antrican AND 子项状态 <> 完成
  • Work Item Type = Product Backlog,Bug IF Child Assigned To = Derek Antrican AND Child State <> Done

AND

  • 状态<>完成

AND

  • 分配给 = Derek Antrican

如何实现上面的粗体部分?

How do I implement the bold part above?

推荐答案

我认为这就是您想要的.您需要将查询配置为工作项和直接链接"类型,然后过滤要分配给您的子项(在此处使用 @me 更容易):

I think this is what you want. You'll need to configure your query to be of type "Work Items and Direct Links" and then filter the children to be assigned to you (it's easier to use @me here):

注意:in"运算符的分隔符取决于您的系统设置.在我的文化(荷兰)中,它是 ;,但对你来说可能会有所不同.

Note: The separator for the "in" operator depends on your system settings. In my culture (Dutch), it's ;, but it may be different for yours.

这篇关于使用“done"排除父项的查询任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆