I want to hide a story and all its subtasks from view on my WIP kanban board that currently displays story level swimlanes.
I don't want to change the subtasks statuses if I don't have to.
Can someone provide the JQL for this filter?
On a Kanban, you lose a bit of information if you hide subtasks, so I will always tell you that you should not hide them by default.
But to get a vastly better display of the stories (which is always a good idea, because sub-tasks are often pointless noise to anyone who isn't the owner of the story), I usually offer a quick-filter of "issue-type not in subTaskIssueTypes()" to every board.
Frankly, I wish Atlassian offered that as a standard quick-filter on all boards, alongside the user ones.
I wonder if by hiding the "on hold" work on a Kanban board, unintended consequences will be created:
Perhaps consider how to improve work selection so it is not put on hold once started, or decide if the issues should be "abandoned" when they are no longer needed/requested.
I see some great workarounds proposed here but if you want JQL to support your workflow, you should consider using our app JQL Search Extensions.
To filter out subtasks and stories in your particular status, add this to your board filter:
parentStatus != "Your status" and status != "Your status"
Have a look at our docs for more info, and more JQL stuff.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events