azure-devops - 如何在 Team Services 和 Visual Studio Team Services 中添加提前期计算

标签 azure-devops

我对 Visual Studio Team Services(以前称为 Visual Studio Online)有一些疑问。

基本上,我想计算团队服务项目中的平均交付时间,并以与查询报告中的事件错误数量相同的方式呈现团队服务中的测量结果。为了能够做到这一点,我必须找到具有完成/完成日期的所有工作订单项目,将每个工作订单的完成日期 - 事件日期之间的所有天数除以所有完成日期的工作订单。但在团队服务内部进行定制计算是很困难的。那么我有什么可能性。我知道有一个可以使用的 REST Api,或者我可以以任何方式使用 Excel,或者我可以使用团队服务中的扩展可能性。

如果我必须创建一个使用 Rest API 的 C# 程序,或者我可以以任何方式使用 SQL Server 2016、Power Query 等,我还想在团队服务或 Power BI 中再次提供该号码创建一个仪表板,我可以在其中再次在团队服务中添加此新测量?

我希望我已经足够解释自己,以便您能够理解我的问题,如果有人提供良好的指导或示例或链接到解释解决我的问题的方法的文章,我将非常高兴,

最佳答案

默认情况下,累积流程图 (CFD) 小部件可以显示有关工作项提前期的基本信息。详情请引用此链接:Cumulative flow .

The CFD shows the count of items in each Kanban column for the past 30 weeks or less. From this chart you can gain an idea of the amount of work in progress and lead time. Work in progress counts unfinished requirements. Lead time indicates the amount of time it takes to complete a requirement once work has started.

如果这不符合您想要的功能,您可以使用 Excel 获取数据并生成您想要的报告。

从 Excel 连接到 VSTS 的要求:

  1. Office Excel 2007 或更高版本
  2. Visual Studio 2010 或更高版本或Team Foundation Server Standalone Office Integration 2015 (free),

连接 VSTS 的引用:https://msdn.microsoft.com/en-us/library/vs/alm/work/office/bulk-add-modify-work-items-excel

然后您可以按照以下步骤进行操作:

  1. 在 VSTS 中创建一个工作项查询,它将获取您想要的所有工作项。然后在“列选项”设置中,选择“激活日期”和“关闭日期”。(这取决于您想要的日期)

enter image description here

  • 在 Excel 中,选择“团队 -> 新建列表”,然后选择 VSTS 帐户和项目。在“查询列表”下拉列表中,选择您在上一步中创建的查询。
  • enter image description here

    现在您可以根据获得的数据生成交付时间报告。

    关于azure-devops - 如何在 Team Services 和 Visual Studio Team Services 中添加提前期计算,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36510035/

    相关文章:

    azure-devops - VSTS : No Test Discoverer is Registered 中 .NET Core 1.1 的 Dotnet 测试

    Azure DevOps 主体未显示在 Key Vault 中

    azure-devops - Azure DevOps : "Hide the field" action missing from available actions list when configuring a process rule

    具有扩展和冗余功能的 Azure 网站

    azure-devops - 带有子项的 Azure DevOps 模板

    azure - ARM 模板 - 不允许主模板中存在多个链接模板

    git - 在 Azure DevOps 中发布的 Git 分支未在 VS2013 或 Git 命令行中显示

    Azure DevOps 服务连接已过期且无法编辑/续订

    node.js - 如何使用 Node api 在 azure devops 工作项和 git 分支之间添加链接?

    azure-devops - 在发布管道中访问 SourceBranchName