Forums

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

Removing items from Kanban board once released

Matt Perdeck
Contributor
July 4, 2019

I've created a Kanban board to keep track of our items. Those items all have sub-tasks. So I've set the Swimlanes to Stories, so developers can easily update their sub-tasks by moving cards.

Issue is that I want to remove those items whose fix version is released. The board's Sub-Filter already takes care of this:
fixVersion in unreleasedVersions() OR fixVersion is EMPTY

However, we are only setting the fix version on the main items, not on their sub-tasks. As a result, the sub-tasks continue to be selected even if their main items are not (because the fix version is a released version). Because of this, those items remain on the board, because their sub-tasks are still selected.

How can I hide items and their sub-tasks, even if the sub-tasks are still selected?

Alternatively, if somebody sets the fix version of an item, how can I automatically update its sub-tasks with the same fix version?

2 answers

0 votes
João Scalett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 1, 2020

@Carlos Garcia Navarro answer's works fine if there are less than 100 issues in the subquery.

Unfortunately, Script Runner fetchs only 100 issues at a time and returns the error "Search parsing timed out. You probably have a subquery that returns too many issues.".

To overcome this, I did the following workaround, which does not solves the issue completely, but helps a little:

Go to the Kanban's Board Settings, and create the following filter under Quick Filters:

issuetype in standardIssueTypes() OR issuetype in subTaskIssueTypes() AND status != Done

Name it however you prefer (e.g. "Hide done subtasks"), and replace the Done status with the one(s) you consider finished, according to your workflow.

Then, go back to your board and apply the quick filter. It will hide all done subtasks and help you visualize a little better the things that still need to be done.

0 votes
Carlos Garcia Navarro
Community Champion
July 4, 2019

Hi Matt,

If you have ScriptRunner you can filter subtasks associated to a story or task that meets specific criteria. In your case you could have a query like this:

issueFunction in subtasksOf("fixVersion in unreleasedVersions() OR fixVersion is EMPTY")

Then you can filter the results out by including this in the query linked to the board.

Suggest an answer

Log in or Sign up to answer