microsoft/AzureDevOps-WSJF-Extension

WSJF is not calculated when creating items via "Quick Add" panel

ChristophLindemann opened this issue · 1 comments

When adding a new item via the "Quick Add" panel

Quick Add panel

the WSJF score is not calculated for the new item. It is calculated when opening and saving the item afterwards (or using the "Recalculate WSJF values" menu).

Expected:
The WSJF Score field should have been updated with the calculated WSJF.

Additional info:

  • All the source fields (like effor and business value) have been populated with default values in the process templates, like <DEFAULT from="value" value="somenumericvalue" />
  • We have tried as a workaround, to set a default WSJF score on the WSJF field. But we can not use a default value like the above for the WSJF score, as the value string is parsed by TFS UI using the user locale. so a string of "0.375" would result in a value of 0.375 (EN) or 375 (DA or DE) depending on the decimal seperator.
  • It would be nice if WSJF would be calculated for a new workitems, regardless of how it was created (WebUI, VS, RestAPI, Excel, MS Project...)
    Maybe it is possible to hook into some "new item" event?

A code fix would be needed to listen for this additional event and do the calculation at that time. I'm no longer working on Azure DevOps but maybe @cschleiden or @mohitbagra could take a look for you.