Forums

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

JQL Filter should only show parent and its items that were not yet done

Allen Chun
Contributor
June 1, 2019

I have a Jira Board with Swimlane as "Task" on each Tasks I have sub-tasks linked.   

From the board, I would like to only show tasks and its sub-tasks that were not yet done. 

My JQL Filter is

issuetype in (Task, Sub-task) AND status != Done

 but whenever I move the sub-task to done it's not showing already even the parent is not yet done.

1 answer

0 votes
Ignacio Pulgar
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 1, 2019
Requires the help of an addon, ie ScriptRunner:
type=Task AND status!=Done OR (issueFunction in subtasksOf("status!=Done"))
Allen Chun
Contributor
June 2, 2019

What if I don't have any addons?

Ignacio Pulgar
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 3, 2019

If you don't have any addons, then you do not count with the necessary tools to build a JQL query that can reference a subtask's parent status.

In other words, you cannot set subtasks to disappear from your board once its parent had reached the status "Done" by any native means.

That said, you may set a different trigger to clean your board.

If you were using a Kanban board, then you could quickly clean it by creating a release directly from the board. Look for Release link on top of the board's most-right column. Click on that link and create a release that way for cleaning the column on the most-right column (Done, in your case).

Hope it helps.

Suggest an answer

Log in or Sign up to answer