How do I order a filter to show a parent issue followed by its children?

I'm using scriptRunner to filter all issues of a specific type that has subtasks. It displays the parent issue and its subtasks, but is currently ordered by key. I want to order it so it shows:







Is there a way to accomplish this?

2 answers

Hi Deanna,

We would not be able to list tree structure I am afraid.

Could you use the field called "Linked Issues" at the filter results.

You would be able to list the issues and linked issues ( Issue Keys)

Dang. Just listing the issues and the keys of the linked issues isn't enough - I need the extra data!

Hi Deanna,

Since you already have Scriptrunner it is not so har to add a scripted field to store the ParentIssue key in the child. Then order the search result by ParentIssue ASC, key ASC. The details is best to get from the Scriptrunner documentation, Some information is available in as well.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,101 views 0 8
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