Skip to content

Get startDate and finishDate from iterations #322

@RevoltEnergy

Description

@RevoltEnergy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions