简体   繁体   中英

Get GA date from the release items in TFS using powershell

Can you please tell me how to fetch the GA Date or Test Pass Start time columns data from tfs using powershell.

In which class i can find these properties so i can fetch data.

在此输入图像描述 Thanks

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.

Since Powershell can call into .NET Objects you can use the TFS Client Object Model. OR you can use the Invoke-RestMethod to interact with the REST APIs.

If you're looking for a more powershell aligned method, look at the 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM