JQL and display: How to get multiple results for issues that MAY have multiple sub-tasks?

I have Issues of a certain type that MAY have subtasks.  I would like a filter to get the Issue information as well as information from each of the subtasks, if they exist.  If the Issue does not have a sub task, then I want just the Issue data.  We have the ScriptRunner plugin and we can get data we want but we are unable to get it to display appropriately thus far.

For example:

Issue 1 has 2 subtasks

Issue 2 has 0 subtasks

This is what I'm looking for:

Issue Key  | Sub Task Key | Issue Summary       |  Sub Task Summary

Issue 1      |  ST 1              | Issue 1 Summary    |  ST 1 Summary

Issue 1      |  ST 2              | Issue 1 Summary    |  ST 2 Summary

Issue 2     | <blank>           | Issue 2 Summary    | <blank>

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 29, 2019 in Jira Software

Transforming Jira Software projects for general project management purposes

...It's true that there are projects in Jira; but they are merely a way to cut off issues, to tell them apart from other sections of work and to apply rules that are specific to that team (the schemes)....

202 views 0 6
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