If I understand the question correctly, you would like to search for issues that have subtasks and display both in the search results.
Each issue has a system field called "sub-tasks" that will list all the subtasks Issue Key belongs to an issue. All you need to do is to display the field in the search results.
In your search result, you should be able to see the value of the Sub-tasks fields if the issue has sub-tasks.
Thank you,
Marini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.