How do I create a filter of tasks with sub-tasks?

I am trying to create a report that only shows tasks which contain sub-tasks, then groups them. I was able to create a filter for tasks which are marked as either sub-tasks or component cases; here's what that query looks like:

project = SYS AND issuetype in (subTaskIssueTypes(), "Component Case", Sub-task) ORDER BY summary ASC, key DESC

There are two problems, though:

1. It does not include the 'parent' task.

2. The Summary field is displayed with the parent task but if I sort on Summary it ignores that, i.e., they are not grouped by parent

Is there a field which indicates that a task contains sub-tasks and/or component cases?
Is there a way to group the parent/child tasks?

Thank you for any assistance!

2 answers

Hi,

There is a great plugin making it possible to filter out parents and their sub-tasks: Search Linked Issues for JIRA

It is not free though but well worth to try out in my opinion.

It will not group the issues the way you want in the issue navigator but if you display the filter in a Kanban board they will be grouped this way

Hope this helped!

Cheers,

// Svante

I just recall that the Script Runner plugin also has some subTask functions for JQL. They might also solve your issue. The Script Runner is free :-)

Cheers,

// Svante

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,763 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you