I want to see issues on kanban board based on parent status
Asked by Stig Espenhein:

Hi

I have a company-based project and I would to see all the stories in the project based on their parent's (epics) status. The result should appear on a kanban board ideally with a quick filter that could filter epics not in progress.

As a first step I've tried to make a query in the issue navigator:

project = rep and parentstatus = "in progress"

This gives me a list of stories with their belonging epics. However, the status of the epics doesn't match the parentstatus specified in the query (neither in the epic status field nor in the epic workflow status field). Where exactly is parentstatus derived from on each epic?

I've also tried with project = rep and Epic Status = "in progress" which only gives me a list of epics without the underlying stories.

I know that epics are defined as features in our issue hierarchy. Could it perhaps have something to do with this?

Thanks in advance

Best,

Stig


Answers:
author: Nic Brough -Adaptavist-
body: Hi Stig,

There is no way to do this as you have defined. Kanban boards work off the issue status, nothing else, so you are always going to see that, not the parent issue status.

You can get a display of it though, if you're willing to do a bit of coding or setup. If you have Automation, Scriptrunner, or another scripting tool, you can set up a (scripted) field that takes a copy of the epic/feature status down on to each issue.

If you do that, you can then at least put the field on the cards, and use it in swimlanes and quick-filters.

comments: author: Stig Espenhein
body: Hey Nick - Thanks for your help.

If the kanban board is only working with issue status, where can you then use this parentstatus field and is it relating to the issue status when talking about epics?

Best,

Stig


author: Nic Brough -Adaptavist-
body: You can use the parent-status scripted field in

* displayed on the card, so you can see that while the issue is in "to do" itself, it's parent is "in progress" for example
* quick filters
* for the card colours
* swimlane definitions

I usually use it in quick filters or on the card, I usually have other uses for swimlanes and colours.

But my main use is off-board; I use it to find issues that are mismatched with their parent - like if a story is "in progress", but the parent is "to do", I want to update the parent to show it is in progress because one of its child issues has been started.


author: Danut M _StonikByte_
body: Hi [@Stig Espenhein](/t5/user/viewprofilepage/user-id/4382455),

You could try these two gadgets offered by our [Great Gadgets](https://marketplace.atlassian.com/search?query=great%20gadgets%20stonikbyte%20agile) app.

**Wallboard Gadget -**This gadget can display a board contents, grouping the items by epics. So will have to enable swim-lanes by epics, it also supports quick filters.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/271187i3CAD24BCDB54D6CE/image-size/large?v=v2&px=999 "image.png")

**Work Break Down (WBS) Gadget** - this gadget displays the issues from a filter by their hierarchy in form of Epics \> Stories, Tasks \> SubTasks along with their status, thus giving you a quick overview over the epics and their content.

![](https://blogstonikbyte.files.wordpress.com/2021/08/wbs.png?w=1024)

You could just try to configure the gadget to use the filter of your Kanban board.

Please note that this app offers many other gadgets that you will find useful. See the articles from our [blog](https://blog.stonikbyte.com/), to make an idea. I can be a great asset for your team or company.

Danut.

comments: author: Stig Espenhein
body: Hi Danut - Thanks for inputs.


author: Muhammad Moazzam Hassan
body: The Query will be,   

Project = rep and status = "In Progress"

comments: author: Stig Espenhein
body: Unfortunately that only gives me issues with that exact status. However, I'm trying to query based on the status of the parents (epics)


author: Muhammad Moazzam Hassan
body: Then you have to build a long query which include all statuses like,  

Project = rp AND (issuetype in (Epic, Task) and status = Backlog) OR (issuetype in (Epic, Task) and status = "In Progress") OR (issuetype in (Epic, Task) and status = Done)


author: Nic Brough -Adaptavist-
body: I'm sorry, but I do not think you have understood the question.

Stig wants to search by parent status, not issue status. Your queries are all looking for issue status.


author: Muhammad Moazzam Hassan
body: Hi [@nic](/t5/user/viewprofilepage/user-id/4208229)   

Yes, you are right.


Tags: issue-link

issue-type