Incorrect "remainingWork" calculation in code...

Mar 23, 2009 at 1:46 PM
The remainingWork variable is assigned it's value from the cumulative Remaining Work on the PBI's that are in the sprint.  The problem is that some SBI's that are associated with that PBI might not be in that sprint.  In those cases, the remainingWork is calculated as higher than it should be, which leads to an overall smaller "work completed" number (and in some cases negative).  I believe the correct remainingWork value would be the cumulative work remaining from each SBI that is in the sprint.  Then each of the numbers would be consistent in where it is getting it's values.