Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I hide all subtasks from a story level kanban board if the story is in a particular status

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?

 

 

4 answers

1 vote

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.

0 votes
Jack Community Leader Jun 13, 2021

Is this a specific singular story? Assuming so the following JQL snippet should be added to your current board filter.

… and issue != abc-123

replace abc-123 with the story key

No I need it to be dynamic.

i.e. if a story is on 'HOLD' also filter out all subtasks regardless of their status.

Jack Community Leader Jun 13, 2021

Ok well that is important info. So if you’re saying you want all on hold stories to not show then consider this…

… and status != “on hold”

you might consider not changing the board filter but rather add a quick filter so you can hide on hold stories on demand. 

Like Bill Sheboy likes this

Right so that was the initial approach, but what ends up happening is the subtasks get dropped down to the 'No Story on Board bucket'

Jack Community Leader Jun 13, 2021

Consider putting the sub-tasks on hold as well. You could use automation to automatically set them to on hold if the story goes on hold

Hi @James Luxton 

I wonder if by hiding the "on hold" work on a Kanban board, unintended consequences will be created:

  • As the work is out-of-sight it will take longer to take action on it for restarting or other decisions
  • It will drive up the team's WIP as by not seeing the "on hold" items, the team will believe they have more capacity to pull in more work.

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.

Best regards,

Bill

Hi James,

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.

Thanks,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you