简体   繁体   English

Azure Devops 查询以查找每天花在工作项目上的时间

[英]Azure Devops Query to find Daily hours spent on Work item

I have to find out time spend by a resource on a Task.我必须找出资源在任务上花费的时间。

let say,可以说,

  • There are 3 Task (Task-A,Task-B,Task-C)有3个任务(任务-A,任务-B,任务-C)
  • There are 3 User (User-A,User-B,User-C)有3个用户(用户A,用户B,用户C)
  • All the Task have Original estimate of 8 hours所有任务的原始估计为 8 小时
  • on Day 1 All the User have work 2 hours on their respective tasks在第 1 天,所有用户都在各自的任务上工作了 2 小时

So I should get a result of 2所以我应该得到 2 的结果

I am using Azure Work Item query to calculate and display the results.我正在使用Azure 工作项查询来计算和显示结果。

在此处输入图像描述

I am not understanding what should be done to calculate the daily work done on a task.我不明白应该如何计算一项任务的每日工作量。

Azure Devops Query to find Daily hours spent on Work item Azure Devops 查询以查找每天花费在工作项上的小时数

AFAIK, Azure devops does not focus on micromanaging and focus on low value metrics. AFAIK,Azure devops 不专注于微观管理,而是专注于低价值指标。

So, Azure devops doesn't track the time spent on a per day basis.因此,Azure devops 不会跟踪每天花费的时间。 It keeps track of the total time spent.它跟踪花费的总时间。 If you want a per person per day value, you'll have to go through the iterations/workitem history and calculate the running difference.如果您想要每人每天的值,则必须查看迭代/工作项历史记录并计算运行差异。

If you really looking for a TimeReporting for the work items of per person, I suggest that you take a look at a third party yool like Timetracker:如果你真的在为每个人的工作项目寻找一个TimeReporting,我建议你看看像Timetracker这样的第三方yool:

Timetracker 时间追踪器

New to version 5.0.!新版本 5.0.! Individual , team, and custom reports powered by version 3 of the REST-based reporting API.由基于 REST 的报告 API 的第 3 版提供支持的个人、团队和自定义报告。 7+ customizable widget types that let you see data that you need, how you need it. 7 种以上可自定义的小部件类型,可让您查看需要的数据以及需要的数据。 In addition to the six default reports in Reporting, users can create custom reports for individuals or teams.除了报告中的六个默认报告外,用户还可以为个人或团队创建自定义报告。

Hope this helps.希望这可以帮助。

For this issue , you can add Completed Work and Remaining work column to the query.This can show the hours the tasks has spent and remaining work hours in the query.对于此问题,您可以在查询中添加已完成工时剩余工时列。这可以显示查询中任务已花费的小时数和剩余工时。 Based on these two fields, you can calculate the daily hours spent on work item.根据这两个字段,您可以计算每天花费在工作项上的小时数。

在此处输入图片说明

在此处输入图片说明

You can Analinics Views and Power BI .您可以Analinics Views 和 Power BI For example, you can add your custom view:例如,您可以添加自定义视图:

在此处输入图像描述

Then use it in Power BI:然后在 Power BI 中使用它:

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM