@CurrentIteration, Team Parameter, Offset
Mar 1, 2018Lauren Brose

Summary
This post introduces significant updates to the '@CurrentIteration' macro in Azure DevOps work item queries. It now requires a team parameter, allowing queries to return consistent results regardless of team selection and enabling the referencing of different teams' iteration schedules within the same query. Additionally, an integer offset can be applied to '@CurrentIteration' to query for past or future sprints in a rolling window. Existing queries will prompt for saving changes to include the team parameter, while queries using the offset functionality will not run in older Visual Studio versions. Future improvements to macro functionality are also outlined.