Show blocked issue icon on epic issue overview

Problem to solve

When browsing through an epic it is often desired to select a issue to work on so the epic can be advanced. But because issue blocked state is not shown on the issue is it currently required to randomly open issues until a non-blocked issue is found, which is a bit of a chore and degrades the experience, especially now that 13.0's new epic view is generally speaking really good.

In issue boards you have:

image

But in the epic it just shows:

image

Proposal

If an issue is blocked, use the red "issue blocked" issue icon instead of the green "issue open" icon. This makes it easy to see:

  • Issues that are ready for implementation (green).
  • Issues that are blocked and cannot be worked on (red).

So it would look something like this:

image

I expect this is a super easy change to make considering it already shows the milestone, which is also part of issue metadata.

Sort order

Also, I think that is should automatically sort green issues above red blocked issues when this is implemented, but perhaps this should be another issue? Seems like an ~enhancement , where as this one really makes a big improvement to the workflow. I propose the following order:

  • Open, unblocked issues (green).
  • Open, blocked issues (red).
  • Closed issues (blue).

Within each grouping the user can still drag&drop to sort as usual, but this order should be absolute.

Documentation

This is such a small change I doubt documentation is needed.

Availability & Testing

I suppose perhaps some basic tests could be added to ensure the correct icon is used, but here too I suspect this is really simple to implement.

Edited by Melvin Vermeeren