How can I only display tasks that have resolved dependencies (or have none)?

I want to make it so my kanban only shows tasks that are currently available for work. In other words, I want to completely hide all tasks that have ANY #Unresolved dependencies linked in “Blocked by:”. At the same time, I dont want tasks without any dependencies (therefore having no unresolved dependencies) hidden from the view.

0
3 comments

Hi!

Have you tried the tags method that I suggested in this thread?

0

It seems like the logic presented in that thread wouldn't cover the situation where one issue is blocked by multiple issues at once.

The logic is “if the current issue is not resolved and has dependant issues, add a BLOCKED tag to dependant issues”. The second workflow would be “if the current issue becomes resolved and has dependant issues, remove the BLOCKED tag from the linked issues”.

Resolving just one of the blocking issues would remove the Blocked tag from the issue, despite the remaining issues not being resolved yet.

0

Tiritto well, it is possible to check all linked issues via ctx.issue.links['blocked by'].forEach, and if at least one of the linked issues is not resolved, then add a tag. And if all of the linked issues are resolved, then the tag is removed.

0

Please sign in to leave a comment.