如何在 TFS 2010 中更新当前的冲刺团队查询?

发布于 2024-10-02 04:19:22 字数 464 浏览 7 评论 0原文

我们使用 VS 2010TFS 2010 以及 Microsoft Scrum 模板

我们对当前 Sprint 使用团队查询,就像Sprint Backlog 查询一样。

问题是,当我们移动到 sprint 2 时,“当前 Sprint”仍然指向 sprint 1。

有没有办法告诉 TFS 我们现在处于 sprint 2 中,并且让查询使用变量来运行,而不是硬-编写冲刺代码?

例如:如果您查看下面的屏幕截图,您会注意到查询的定义为团队项目使用了一个名为“@Project”的变量。有没有办法为冲刺提供变量?

替代文本

We are using VS 2010 and TFS 2010 with the Microsoft Scrum Template.

We use the Team Queries for the Current Sprint like the Sprint Backlog query.

The problem is when we move to sprint 2 the "Current Sprint" still points to sprint 1.

Is there a way to to tell TFS that we are now currently in sprint 2 and have the queries use a variable to run against instead of hard-coding the sprint?

For example: If you look at the screen shot below you will notice that the definition of the query uses a variable called "@Project" for the team project. Is there a way to have a variable for the sprint?

alt text

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

苦行僧 2024-10-09 04:19:22

Tom,

您所要求的内容在 TFS 2010 中不可用。甚至没有迭代日期,因此 TFS 不知道当前迭代是什么。

在 TFS11 (vNext) 中,我们添加了迭代日期。它现在知道您处于哪个迭代中,这也反映在 Web 访问的待办事项页面上。然而,在现在发布的预览版本中,无法向查询添加过滤子句以过滤当前迭代(例如@CurrentIteration)。我们收到了强烈的反馈,要求在发货前将其添加到产品中。它在我们的愿望清单上也非常重要,但我们需要先解决其他问题才能发货。

您可以在用户语音上添加此请求。如果这个想法获得了很多选票,那么就更容易建立一个我们需要将其放入的案例。但我们不能做出任何承诺。

Ewald - TFS 项目经理

Tom,

What you are asking for is not available in TFS 2010. There are not even dates on the iterations, so TFS does not know what the current iteration is.

In TFS11 (vNext) we have added the dates on the iterations. It now knows in which iteration you are, and this is also reflected on the backlog page in web access. In the preview version that is out now it is however not possible to add a filter clause to your queries to filter on the current iteration (something like @CurrentIteration). We have heard strong feedback to add this in the product before it ships. It is also very high on our wish list, but we need to fix other things first before we can ship.

You can add this request on User Voice. If the idea gets lots of votes it makes it easier to build a case that we need to put this in. But we cannot promise anything.

Ewald - TFS Program Manager

为你拒绝所有暧昧 2024-10-09 04:19:22

这里几乎所有的答案都说您要么需要等到 Visual Studio 实现 @CurrentSprint 令牌或手动更改所有现有查询。

我发现了另一个可能对您有帮助的好习惯,解释如下:
http://intellitect.com/transitioning- Between-sprintsiterations-with-tfs
尝试创建一个名为“当前”的“版本”,并将特定的当前冲刺移到其下。这比每次开始新的冲刺时处理查询要容易和快捷得多。

Almost all answers here say that you either need to wait until Visual Studio implements @CurrentSprint token or to change all existing queries manually.

I found another great practice that might help you which is explained here:
http://intellitect.com/transitioning-between-sprintsiterations-with-tfs.
Try to create a “release” called “Current” and move the specific current sprint under it. It's much easier and quicker than dealing with queries every time you start a new sprint.

茶花眉 2024-10-09 04:19:22

我只读过文档/指南(目前链接不可用),也就是说在新的冲刺开始时,您需要在 TFS 中采取一些不同的步骤,例如:

  • 创建新的冲刺/发布节点,
  • 设置适用的 PBI 工作项对当前冲刺的迭代
  • 将适用的 PBI 工作项设置为已提交
  • 更新所有“当前冲刺”查询以反映新的冲刺编号。

我从未见过有关以不干涉(自动)方式执行最后一步列表(或其中任何一步)的文档。也就是说,我并不是说这是不可能的,只是说我从未见过有关如何执行此操作的指导,但见过很多有关手动执行此操作的指导。

I've only ever read documentation/guidance (links unavailable at the moment), that said at the start of a new sprint there are a few various steps you need to take in TFS, e.g:

  • create the new sprint/release nodes
  • set the applicable PBI work items' iteration to the current sprint
  • set the applicable PBI work items as committed
  • update all the "Current Sprint" queries to reflect the new sprint number.

I've never seen documentation on doing the last step list (or any of them) in a hands-off (automatic) way. That said, I'm not suggesting it's not possible, just stating that I've never seen guidance on how to do it, but have seen plenty of guidance on doing it manually.

执手闯天涯 2024-10-09 04:19:22

您可以使用名为 TEK workitem 的插件。 TEK 工作项是 TFS 的 Visual Studio 扩展,除了其他功能(例如在 Visual Studio 工作项中打开和从超链接查询、从 Visual Studio UI 中删除工作项等其他功能)之外,它还允许批量编辑查询定义。

您可以从 Visual Studio Gallery 下载演示:TEK 工作项

You could use a plugin called TEK workitem. TEK workitem is a Visual Studio extension for TFS that allows bulk edit of query definitions, besides other features like open in Visual Studio workitems and queries from a Hyperlink, delete Workitems from Visual Studio UI, etc.

You can download a demo from Visual Studio Gallery: TEK workitem

半窗疏影 2024-10-09 04:19:22

我刚刚接触 TFS Scrum 1.0 但是这就是我所做的......

  • 我目前正在模板之外管理我的冲刺日期

  • 我使用“当前冲刺>”查询',让我自己和团队能够快速访问当前冲刺的查询。

  • 当我完成一个冲刺并想要增量到下一个冲刺并使“当前冲刺”下的查询正确指向时,我会执行以下操作:

    • 编辑“当前 Sprint”下的每个查询
    • 右键单击并选择“编辑查询”
      • 如果您更改了迭代的层次结构,您可能会看到一个错误对话框。单击“确定”进入查询编辑器。

在此处输入图像描述

  • 设置 'Iteration Path > 的值在'下,从下拉列表中选择正确的冲刺(用您的迭代填充。

在此处输入图像描述

  • 保存查询和鲍勃的您的 anty...查询将显示您当前的冲刺,

希望这会有所帮助...。

I am pretty recent to TFS Scrum 1.0 but this is what I do.....

  • I am currently managing my sprint dates outside of the template

  • I use the 'Current Sprint > Query’s' to give myself and team quick access to the queries on the current sprint.

  • When I finish a sprint and want to increment to the next sprint and have the queries under 'Current Sprint' point correctly I do the following:

    • Edit each query under ‘Current Sprint’
    • Right lick and select ‘edit query’
      • You may see an error dialog if you have changed the hierocracy of your iterations. OK to click through to the query editor.

enter image description here

  • Set the value of ‘Iteration Path > Under’ by selecting the correct sprint from the drop down (populated with your iterations.

enter image description here

  • Save the query and bob’s your anty…. Queries will display you current sprint. Just repeat each iterations.

Hope this helps....

呆° 2024-10-09 04:19:22

我在 TFS 2013 中发现,如果取消选中冲刺/迭代,最早日期的冲刺/迭代会自动分配给当前日期。如果您想让旧的日期保持可见,请将日期移出一年左右,它就会下降到列表底部,但超出范围。

I found in TFS 2013 that if you uncheck the sprint/iteration the one with the earliest dates get assigned to current automatically. If you want to keep the old one visible, move the dates out a year or so and it drops to bottom of list, but out of scope.

破晓 2024-10-09 04:19:22

这是TFS online 2017

步骤1)设置->工作 -> 默认团队设置

在此处输入图像描述

步骤 2),然后“默认迭代”->更改

请记住,下次您可能会从步骤 2 开始。因此,步骤 1 是可选的

This is TFS online 2017

Step 1) Settings-> Work->Default team settings

enter image description here

Step 2) and then 'Default Iteration'->Change
enter image description here

Keep in mind that next time you might be starting in Step 2. So Step 1 is optional.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文