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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

13,155 views 15 13
Join discussion

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