How to get Days Remaining in Iteration using TFS REST API

前端 未结 1 1910
你的背包
你的背包 2021-01-16 22:12

I am currently using the REST API version 2.0 and connecting to my TFS instance with PowerShell. I can get the following information:

Itera

1条回答
  •  天涯浪人
    2021-01-16 22:30

    There is no such direct api to get the days remaining in the iteration. You need to get the team setting for an iteration with api below, to get "startDate", "finishDate", "workingDays" in "teamSettings" and calculate the days remaining in the iteration:

    GET https://{instance}/DefaultCollection/{project}/{team}/_apis/work/TeamSettings/Iterations/{iterationId}?api-version={version}
    

    0 讨论(0)
提交回复
热议问题