We use VS2008 with TFS for source control at my workplace and it works fine, however today we experienced a problem when trying to associate our pending changes with a work item. Usually when I want to associate changes with a work item I just go to the second tab from the top in the "pending changes" window, check the work item that fits the changes and check in. Today however, all my work items were gone from the list. I can select a suitible querry from the drop down box and this works fine, so the projects are there.
I think the problem might have something to do with the "My Work Items" querry beeing associated with the wrong TFS project (there are two on our TFS-server) but I don't know how to fix this. The same problem occured for most of my colleagues with some (possible) variations.
So... how do I restore "My Work Items" to the pending changes window?
EDIT: The problem still persists in a way but I worked my way around it by removing the second project in the Team Explorer. This is acceptable (for now) since that project is not currently active. I am not content with this beeing a good long term solution, however...
EDIT: I know that I may not have provided enough information for anyone to understand what really is the problem, still, I'll keep it up for now in case someone has had the same problem and knows how to fix it :P