[英]Get GA date from the release items in TFS using powershell
You'll be looking for the WorkItemStore.GetWorkItem().Fields["Fieldname"]
in the TFS Client Object Model or the similar functionality in the rest API : depending on your TFS version and source platform. 您将在TFS客户端对象模型中查找
WorkItemStore.GetWorkItem().Fields["Fieldname"]
或其他API中的类似功能 :取决于您的TFS版本和源平台。
Since Powershell can call into .NET Objects you can use the TFS Client Object Model. 由于Powershell可以调用.NET对象,因此您可以使用TFS客户端对象模型。 OR you can use the Invoke-RestMethod to interact with the REST APIs.
或者您可以使用Invoke-RestMethod与REST API进行交互。
If you're looking for a more powershell aligned method, look at the TFSCmdLets . 如果您正在寻找更多PowerShell对齐方法,请查看TFSCmdLets 。 It returns a TFS Client Object Model instance of the WorkItem class, so the first example code will provide more information on what to expect.
它返回 WorkItem类的TFS客户端对象模型实例 ,因此第一个示例代码将提供有关预期内容的更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.