Quick Filters no longer show sub-tasks in Sprint Board

Monica Signer September 26, 2022

We've been using a pair of quick filters for months, but recently realized they no longer allow for expanding a story to view the associated sub-tasks in the active sprint board.  We are on Jira v8.20.6

The filters are based on values in the Components fields.  "Development" for the dev team, and "Configuration" for the config team.  None, one, or both of the values may be found on a story and / or subtask.   When applied, I want to see every story where either the story and or any of it's sub-tasks are so tagged.

(issue in parentIssuesFromQuery("type = Sub-task AND Component = Configuration")) OR (type = Story AND Component = Configuration )

The list of stories are showing correctly, but none expand to show sub-tasks.

 

1 answer

1 accepted

1 vote
Answer accepted
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2022

Hi @Monica Signer 

From what I undersatnt from the query it return what is expected.

 

Use this one to get all the story and sub-task

(issue in parentIssuesFromQuery("type = Sub-task AND Component = Configuration")) OR (type = Sub-task AND Component = Configuration )

This will return parent of subtask with compoenents Configuration and all Sub-task with COnfiguration as component.

 

What you are using return only stories based on the analysis below.

 

(issue in parentIssuesFromQuery("type = Sub-task AND Component = Configuration"))

return anything that is parent of a subtask when the sub-task has Configuration as components.

OR

(type = Story AND Component = Configuration )

return story with Configuration as components.

 

Regards

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2022

It needs to be noted that the parentIssuesFromQuery function is NOT native to Jira. It requires the purchase and installation of a third party app:

https://marketplace.atlassian.com/apps/31601/search-linked-issues?hosting=server&tab=overview

I don't believe there is a native method to get all of these in one filter:

1. sub-tasks with Component=Configuration

2. parent issues of (1) (regardless of the value of the Component field in the parent)

3. non-sub-task issues with Component=Configuration

Monica Signer September 27, 2022

Thanks guys --- getting closer.

(issue in parentIssuesFromQuery("type = Sub-task AND Component = Development"))

OR (type = Sub-task AND Component = Development)

OR (type = Story AND Component = Development )

 

Shows all stories, and the sub-tasks that are component = Development.   But... what we really want is ALL subtasks, from the parent stories that have any Development subtasks.   So Sort of  -- All Subtasks from (parentissuesFromQuery("type = Sub-task AND Component = Development")).       Not sure this is possible?

  

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2022

Not sure to understant but if what is missing is all sub-task if the story has development compoenents you can achieve that by adding

 

OR

issue in subtaskIssuesFromFilter("type = Story AND Component = Development ")

 

Regards

Monica Signer September 27, 2022

Excellent! Thanks Florian.  Combining that with a story level filter both gets all subtasks, and stories that have no subtasks! 

(issue in subtaskIssuesFromQuery("type in (Story,Bug) AND Component = Development")) OR (type = Story AND Component = Development) 

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2022

Right, does it return everything you were expecting ?

Monica Signer September 27, 2022

YES!

Suggest an answer

Log in or Sign up to answer