Starting from an issue (say root issue), trace all the links to that issue and build a tree of linked issues. All the tree nodes should have the Key, Issue Type, and Summary
Build a forest of such trees and get a report in excel format.
Here is an example:
Requirement -> Epic -> Story -> Task
Story -> Test -> Bug
I tried to query on the field Linked Issues and did not result in a valid query.