Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get startDate and finishDate from iterations #322

Open
RevoltEnergy opened this issue Sep 16, 2020 · 0 comments
Open

Get startDate and finishDate from iterations #322

RevoltEnergy opened this issue Sep 16, 2020 · 0 comments
Labels

Comments

@RevoltEnergy
Copy link

Is there any option to get startDate and finishDate from iterations? REST API gives in response attributes field:

{
   "id": "some-id",
   "name": "Iteration N",
   "path": "SOME\\Iteration N",
   "attributes": {
       "startDate": "2018-08-26T00:00:00Z",
       "finishDate": "2018-09-25T00:00:00Z",
       "timeFrame": "past"
   },
   "url": "https://some.url"
}

SDK gives an opportunity to get Iterations like this:

Project project = tfsClient.getWorkItemClient().getProjects().get(projectName);
NodeCollection iterationRootNodes = project.getIterationRootNodes();

and NodeCollection holds an array of Node objects, which do not have any info about iteration's start date or finish date. How to get that using SDK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants