nbrown02 / FlowViz

A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
https://flowviz.thinkific.com/courses/fundamentals
MIT License
202 stars 47 forks source link

Blocked items not showing on the dashboard with "Blocked" field #140

Open marcoslopez1 opened 6 hours ago

marcoslopez1 commented 6 hours ago

Describe the bug The "Blocked" field that comes by default hidden for the work items has been enabled and selected as the way to tag work items that are blocked (we're not using the tags field). Unfortunately blocked items identified this way are not showing up in the blocked tab of the dashboard, but the ones identified with the field tags as "blocked" they do appear.

For the four charts of the Blockers tab of the dashboard I realized:

To Reproduce Steps to reproduce the behavior:

  1. Set the field "Blocked" as "Yes".
  2. Once the work item has no longer a blocker, set the field "Blocked" as "No".
  3. Continue working on the work item until it reaches the "Closed" state.
  4. Refresh the data and check the blocked tab of the dashboard.

Expected behavior Blocked items using the "Blocked" field as "yes" and cleared to "no" at some point in the process, should also appear in the dashboard, not only the ones that use the Tags.

Screenshots Here an example: 1) The work item is set as a blocked item with the "Blocked" field: image

2) One day later the work item is unblocked and the field "Blocked" is set as "No": image

Additional context Same behavior described as in this other ticket, but unfortunately still getting the same problem as the user described on the ticket: https://github.com/nbrown02/FlowViz/issues/21

nbrown02 commented 5 hours ago

Thanks Marcos - let me look into this tonight and get back to you!

nbrown02 commented 4 hours ago

I'm not seeing this bug. I have this work item:

image

When it was marked as blocked, it appeared in the current blocked items and blocker frequency

image

image

When it was Blocked/Unblocked it appears in MTTU (it needs to be unblocked to appear in this chart):

image

image

When it moves to Done, if the blocked time is more than a few minutes it will appear (it didn't for this just because i created a dummy item.

Can you share more about your process template and what your blocked field is? Is it the standard blocked field or custom created?

marcoslopez1 commented 3 hours ago

Thanks for the quick response Nick, I appreciate it!

Sure, let me capture that info here:

This is how an user can see it to report a blocker: image

Just a side note, we use the "blocked" field instead of the tags because we do have a column in our boards to report blocked issues. And since the only way to tag them is either using tags or this field, we decided to create a rule that is automatically defining the field as "yes" when it is moved into that blocked column (aka state) and it's moving it back to "no" once the work item is moved into another different column. Therefore, it is the system rule who is actually changing the value of the field automatically (I've also try to change it manually myself and still the same result). image

Let me know if you'd like to know more info or to test something on my end.

nbrown02 commented 3 hours ago

So replicating that setup I still see the same:

image

image

image

image

Can you share the work item form for User Story and your states?