Query VSTS for all PBI's with no open tasks

半腔热情 提交于 2019-12-14 03:25:23

问题


I would like to be able to create a query in VSTS that will return a list of PBI's (from a specific sprint/area) where all tasks are "Done".

It this possible? From what I can see around SO this requires using the REST API of VSTS.

Would I be able to create a chart in a dashboard with a hierarchy list?

Thanks :-)


回答1:


You should be able to do this, although you will also get the tasks returned, but you should be able to easily filter those out depending on what you are trying to do.

Use the following Steps:

  1. Queries -> New Query
  2. Type of query -> Work Items and Direct Links
  3. Filters for top level work items -> set this to the type of work items you are using, in my example I am using 'User Story'. Add additional path/iteration filters that you require
  4. Filters for linked work items -> Set work Item Type = Task and State = Closed
  5. Filter Options -> Only Return Items that have matching links



来源:https://stackoverflow.com/questions/46955787/query-vsts-for-all-pbis-with-no-open-tasks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!