Geeks With Blogs

News




View Tarun Arora's profile on LinkedIn

profile for Tarun Arora at Stack Overflow, Q&A for professional and enthusiast programmers

Tarun Arora - Visual Studio ALM MVP ALM, Agile, Automation, Performance Testing, Software QA, Cloud, ...

 

In this blog post I’ll show you the fix for the TF51011 exception (refer to the screen shot below),

  • Blocked Tasks TF51011: The specified iteration path does not exist. The error is caused by «'Demo\Release 1\Sprint
  • Sprint Backlog TF51011: The specified iteration path does not exist. The error is caused by «'Demo\Release 1\Sprint
  • Test Cases TF51011: The specified iteration path does not exist. The error is caused by «'Demo\Release 1\Sprint
  • Unfinished Work TF51011:The specified iteration path does not exist. The error is caused by «'Demo\Release 1\Sprint
  • Work In Progress TF51011: The specified iteration path does not exist. The error is caused by «'Demo\Release 1\Sprint

image

 

01 – How to reproduce the exception

  • Go to the administration website in the Team web access and navigate to Iterations tab.

        image 

  • Change the name of your active sprint from what ever its currently named to something else. For example, the current sprint is called ‘Sprint 1’ I’ll rename it to ‘Sprint 1 – Test’.

         image

  • Notice the error message, the iteration path does not exists! So, changing the name of the current sprint after you have tagged the tiles breaks the tiles.

        image

02 – Why is the exception raised

Unfortunately, those tiles are tied directly to a work item query and today when you rename a sprint/iteration you have to update the queries manually with the new value. So when you click on the title you will get redirected to the query where you can see the broken query.

image

03 - Fix

The fix is fairly straightforward, open the queries behind the tiles and change the iteration path to the renamed sprint.

image

See below, the Work In Progress tile has been fixed!

image

 

Note – There are several visual studio extension that let you update the current sprint in work item queries in bulk. For example a good one is ‘TFS Iteration Manager’ that lets you update the current sprint in the work item queries of choice in bulk.

Hope this helps!

Posted on Sunday, January 27, 2013 1:22 PM TFS2012 | Back to top


Comments on this post: Fix - TF51011: The specified iteration path does not exist

comments powered by Disqus

Copyright © Tarun Arora [Microsoft MVP] | Powered by: GeeksWithBlogs.net | Join free