Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

James Luxton June 13, 2021

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 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
June 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

James Luxton June 13, 2021

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 Brickey
Community Champion
June 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
James Luxton June 13, 2021

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 Brickey
Community Champion
June 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

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 13, 2021

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
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
June 15, 2021

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

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events