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 Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

2,112 views 14 13
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