none
Team Foundation Server 2012 Issue on sprint name change

    Question

  • Today I was trying to do some try on TFS2012, I created sample Agile project with created default sprint from 1 to 6. I created some work items and assigned it to sprint1. Then renamed sprint1 to 'sprint1 Initial Development'. As soon I clicked on Home to see my dashboard which I created to see my favourate items, TFS failed go generate tiles. Look at following screen. My understanding here is, if i change any sprint name, it should be taken care interanally by TFS, instead of failing to generate view.


    Regards, Vinod Shalgar

    Sunday, January 13, 2013 4:55 PM

Answers

  • Thanks Vinod.  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.  I'll talk to the team about a fix for this as I know it's been a long running issue that's plagued us.

    Thanks.

    Aaron


    Thanks, Aaron Bjork http://blogs.msdn.com/aaronbjork

    Monday, January 14, 2013 4:23 PM

All replies

  • Hi vinod,

    Thank you for your post.

    According to your description of the issue, I suppose you the situation you experience in is after change sprint name, the first and third items iunder team favorites have TF51011 error. If I have misunderstood anything, please free feel to let me know.

    I test the issue in my side, after change sprint name, work item query, build definition, version control folder which add to team favorites do not experience the issue. Hope you can provide following information to help narrow down the issue:
    1. What are the first and third item you add to team favorites?
    2. Do other team member experience the same issue in web access?
    3. Is there any detail error log in event viewer?
    4. What's the result after refresh TFS and web browser?
    5. Hope you can post the detail version information of IE browser, VS and OS.

    If anything is unclear, please free feel to let me know.

    Regards,


    Lily Wu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, January 14, 2013 6:29 AM
    Moderator
  • Thanks Vinod.  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.  I'll talk to the team about a fix for this as I know it's been a long running issue that's plagued us.

    Thanks.

    Aaron


    Thanks, Aaron Bjork http://blogs.msdn.com/aaronbjork

    Monday, January 14, 2013 4:23 PM
  • Thanks for confirming this Aaron. 

    @Vinod,

    If you fire up Fiddler in the background while trying to load the team web access you will notice that the team favorites (i.e. tiles) are actually tightly integrated to the work item query which is stored in the property bag associated with the team foundation identity. 

    Key

              “Microsoft.TeamFoundation.Framework.Server.IdentityFavorites..<TeamProjectURI>.<TeamId>.WorkItemTracking.Queries.<newGuid1>

              Value

              "{"data":"<QueryGuid>","id":"<NewGuid1>","name":"<QueryKey>","type":"Microsoft.TeamFoundation.WorkItemTracking.QueryItem”}"

    By renaming the sprint, you break this query because the query guid cannot be located now, hence the json result being delivered to the page will no longer be valid, hence the exception. 

    I have more details on how team Favorites work here http://geekswithblogs.net/TarunArora/archive/2012/10/18/tfs-api-add-favorites-programmatically.aspx 

    I hope this makes sense. 

    Cheers,

    Tarun


    Please remember to mark the replies as answers if they help.

    Tarun Arora

    Blog: http://geekswithblogs.net/TarunArora  Subscribe in a reader


    Facebook: Visual Studio Bytes

    Videos: ALM Videos

    Monday, January 14, 2013 8:41 PM
  • Thanks Aaron. The tiles which are shown on the dashboard are directly tied with the TFS queries, I changed iteration path in the query and now I am able to generate the tiles. But this is just a workaround where I need to modify all the queries manually. This task is very tedious and very difficult if you are working in a big project where you have lots TFS queries. :) I hope you understand the complexities involved here.


    Regards, Vinod Shalgar


    • Edited by vinod shalgar Tuesday, January 15, 2013 1:33 AM grammer
    Tuesday, January 15, 2013 1:19 AM
  • Hi Vinod,

    Thank you for your good suggestion. I hope you can submit a feedback to Visual Studio UserVoice site (http://visualstudio.uservoice.com/forums/121579-visual-studio).

    Thank you for your understanding and support.

    Best Regards,


    Lily Wu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, January 15, 2013 2:24 AM
    Moderator
  • Agreed Vinod.  :)

    Thanks, Aaron Bjork http://blogs.msdn.com/aaronbjork

    Tuesday, January 15, 2013 3:40 PM