i've copied the WIT "User Story", made it a new WIT and renamed it to "PR". The work item also has "Remaining Work" and "Original Estimate". But when i enter times it wont get calculated in the board.
On the other hand, "Bug" get's calculated just right. I've already checked the fields and they are the same (Field Control, VSTS.Sheduling.RemaningWork, Type Double, reaportable Measure, formula SUM and so on)
any tips?
A few things are required to get TFS to handle those fields the way you describe. First check your
ProcessConfiguration.xmlfile (in the folder:.\WorkItem Tracking\Processof your process template). Check which field is configured as Remaining Work:...
In the above example you can see that
Microsoft.VSTS.Scheduling.RemainingWorkis used as theRemainingWorkfield. Make sure that your PR WIT uses this field and not a custom field that has the same label, the refname must beMicrosoft.VSTS.Scheduling.RemainingWorkNext in the same file check what category is configured as the "task level":
In the above example you can see that
Microsoft.TaskCategoryis configured as the category to use as the task backlog.Next check your categories.xml file (in the
.\WorkItemTracking folder of your process template) and verify that the WIT you created is in the task category:Note that if you expect the remaing work of tasks to roll-up to your PR WIT then the PR WIT should be in the
Microsoft.RequirementCategory.If you want to update your existing team project(s) you will have to use witadmin.exe. Use
exportprocessconfigandimportprocessconfigfor the process configuration. Useexportcategoriesandimportcategoriesfor the categories.