VS402337: The number of work items returned exceeds the size limit of 20000 | Azure DevOps
Issue: VS402337: The number of work items returned exceeds the size limit of 20000. Change the query to return fewer items
Solution : Azure DevOps has a default limit of 20000 workitems for any query. (Be it tree or flat or direct links query). All the queries have a limit of 20000 workitems and when the query returns more than 20000 workitems it will return an error like this. The only solution is to modify the query with more filters so that it returns less than 20000 workitems.