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

Deanna Stanley April 3, 2015

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:

Parent

Subtasks

Parent

Subtasks

etc.

 

Is there a way to accomplish this?

2 answers

0 votes
Henrik Gerdtsson July 4, 2018

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, https://scriptrunner.adaptavist.com/latest/jira/scripted-fields.html. Some information is available in https://jira.atlassian.com/browse/JRASERVER-9197 as well.

Br
Henrik

0 votes
RPandyaram
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.
April 3, 2015

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)

Deanna Stanley April 3, 2015

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

Suggest an answer

Log in or Sign up to answer