工作项状态和原因
在 VS2010 中编辑工作项时,我只能选择“活动”和“已关闭”作为状态,并选择“问题已解决”作为原因。我咨询了 TFS Power Tools 工作项字段浏览器,它向我显示了 System.Reason 和 System.State 的一堆可能值。
流程模板是否会影响选项(我正在使用默认的 MSF 敏捷模板),我是盲目的还是这里出了问题?
最好的问候
I can only select Active and Closed as state and Issue Resolved as reason when editing a workitem in VS2010. I have consulted the TFS Power Tools work item field explorer and it shows me a bunch of possible values for System.Reason and System.State.
Does the process template affect the options (I'm using the default MSF agile template), am I blind or is something wrong here?
Best reagards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来您有一个“问题”类型的工作项。流程模板定义了工作项类型、每个工作项类型的可能状态以及状态更改转换规则。虽然
System.Reason
和System.State
有许多可能的值,但“问题”工作项类型非常有限。“问题”类型只能处于“活动”或“关闭”状态。当从“活动”变为“关闭”时,唯一可能的原因是“问题已解决”。当从“关闭”回到“活动”时,唯一可能的原因是“重新激活”。
有关“问题”工作项类型的更多信息,请参阅MSDN。
正如您所注意到的,“问题”工作项类型充满了限制。使用错误或任务工作项类型来定义冲刺中需要完成的工作通常更有用。
It sounds like you have a work item of type "Issue". The process template defines both work item types, possible states for each work item type as well as state change transition rules. While there are many possible values for
System.Reason
andSystem.State
, the "issue" work item type is very limited.The "issue" type can only be in states "active" or "closed". When moving from "active" to "closed", the only possible reason is "issue resolved". When moving back from "closed" to "active", the only possible reason is "reactivated."
More information about the "issue" work item type is available on MSDN.
As you note, the "issue" work item type is fraught with limitations. It's often more useful to use a bug or a task work item type to define work that needs to be done in your sprint.
在您使用的敏捷 for msf 模板中,问题的默认工作流程如您所提到的:从活动到关闭。
如果您想更改它,您可以修改问题的工作项类型定义。您可以使用 tfs 电动工具通过图形界面来执行此操作,或者编辑 xml 并使用命令行上传。
其他模板和其他工作项类型具有不同的工作流程。
In the agile for msf template which you are using, the default workflow for issues is as you mentioned: from active to closed.
If you wish to change it, you may modify the issue's work item type definition. You may use the tfs power tools to do so with a graphic interface, or edit the xml and upload it with the command line.
Other templates and other work item types have different workflows.