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 Join to answer
Community showcase
Emilee Spencer
Published 2 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

22 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot