I followed the following article to add add scheduling/planning hours to the MSF Agile bug work item template:
http://blogs.technet.com/b/chrad/archive/2010/04/03/tfs-2010-adding-scheduling-planning-hours-to-msf-agile-bug-work-item-template.aspx
That worked perfectly. I created a few bugs and added values for Remaining Work and Original Estimates. I then opened my Iteration Backlog. It correctly shows all the Scenarios, Tasks and Bugs correctly on the Iteration Backlog tab, but the Capacity tab only calculates the Assigned field based on the hours of the tasks (and not for the bugs).
Does anyone know how I can modify the Iteration Backlog to also take into account the Remaining Work of the (modified) bug work item type?
I'm using TFS 2010.