在 TFS 中的项目之间移动工作项
是否可以将工作项从一个项目移动到 TFS 内的另一个项目?我看到了复制选项,但没有移动。另外,如果可能的话,对 WI 历史有何影响?
我发现这个 2008 年的文章 似乎说事实并非如此,但我想知道从那时起是否有任何进展。
Is it possible to move a work item from one project to another inside TFS? I’ve seen a copy option, but no move. Also, if it is possible, what’s the implication for any of the WI history?
I found this article from 2008 that seem to say it's not, but I wondered if there'd been any progress since then.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
无法移动,只能复制。我们这样做的方式是复制副本,链接原始文件,然后将原始文件视为已过时而关闭。您也可以创建副本并销毁原始副本,但您将丢失所有历史记录。
如果您愿意,您可以非常喜欢并创建自己的“移动”实用程序,该实用程序复制工作项和所有历史记录,然后关闭(或销毁)旧的。对于您可能不需要经常做的事情来说,这似乎有点矫枉过正。
It isn't possible to move, just copy. The way we do it, is we do the copy, link the original, then close the original as obsolete. You could also create the copy and TF Destroy the original, but you will lose all history.
If you wanted to, you could get very fancy and create your own "move" utility that copies the workitem and all of the history, then closes out (or destroys) the old one. Seems like overkill for something that you probably shouldn't need to do all that often.
Lars Wilhelmsen 编写了一个 WorkItemMigrator -> http://larsw.codeplex.com/SourceControl/list/changesets
很好的起点您可以根据需要自定义的实用程序。我们用它来将 100 个左右的工作项拆分到一个新项目中。这是我最终得到的程序。修改查询以对要迁移的项目进行子集化。
Lars Wilhelmsen wrote a WorkItemMigrator -> http://larsw.codeplex.com/SourceControl/list/changesets
Good starting point for a utility you can customize for your needs. We used it to split off a 100 or so work items to a new project. Here's the program I ended up with. Modify the query to subset the items to migrate.