Azure REST API Get iteration error for Past and furture iterations.

Microsoft

Hi Team ,

Need assistance on below bug.

 

I am trying to use below Current iteration URL which is working fine 

GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/teamsettings/iterations/{id}?api-ve...

But trying for past and furture iteration as below and getting an error.

 

past:

 

GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/teamsettings/iterations/{id}?api-ve...

 

furture:

 

GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/teamsettings/iterations/{id}?api-ve...

 

Below is the error:

 

{"$id":"1","innerException":null,"message":"timeframe","typeName":"Microsoft.TeamFoundation.Work.WebApi.Exceptions.InvalidTeamSettingsIterationException, Microsoft.TeamFoundation.Work.WebApi","typeKey":"InvalidTeamSettingsIterationException","errorCode":0,"eventId":0}

Regards,

anu

 

0 Replies