如何在 Eclipse 中将 TFS 中的工作项导出为 XML [英] How can work items from TFS be exported as XML in eclipse

查看:22
本文介绍了如何在 Eclipse 中将 TFS 中的工作项导出为 XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在查看结果,但找不到答案我有一个工作项目 &我需要将其导出到 XML 文件中 &存储在我磁盘上的某个地方.可以使用 Visual Studio 完成,但我在 Eclipse 上运行 TFS.

I've been looking all over the results but couldn't find an answer I have a work item & I need that to be exported into an XML file & store somewhere on my disk. It can be done using Visual studio, but I'm running TFS on Eclipse.

推荐答案

(如果您使用的是 Windows...)您可以使用 wiql 和 tfpt powertool 来完成此操作.例如

(if you're on windows...) You can do this with wiql and the tfpt powertool. e.g.

tfpt query /collection:$coll /wiql:$query02 /include:data /format:xml

<小时>

团队基础动力工具链接

这会将 tfpt 工具添加到:C:\Program Files (x86)\Microsoft Team Foundation Server 2013 Power Tools.然后,您可以编写自己的 wiql(工作项查询语言)或运行现有的 TFS 查询之一.使用/format:xml 开关,您将获得 xml 输出.我在 powershell 脚本中运行上面的示例,并将输出重定向到 tmp 文件夹,但您也可以从普通的 cmd 窗口运行它.

this adds a tfpt tool to: C:\Program Files (x86)\Microsoft Team Foundation Server 2013 Power Tools. You can then either write your own wiql (work item query language) or run one of your existing TFS queries. Use the /format:xml switch and you get your xml output. I run the example above in a powershell script and I redirect the output to a tmp folder, but you can run it from a normal cmd window too.

这篇关于如何在 Eclipse 中将 TFS 中的工作项导出为 XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆