I'm able to get part of this to work but cannot solve the 2nd half of the problem.
Problem: I'm attempting to get a count of Risks linked to an Epic. This would include the Risk as a child of the Epic and the Risk linked to the Epic by specific link type.
I'm able to get the summed number of Risks linked as a child for the epic. However, I'm confused on how to get the count of linked risks for the epics in the 2nd lookup. When I search in JQL, it gives me a list of any risk that may be linked by the link type regardless of the epic.
I'm creating a dashboard that will provide me the count of directly impacted risks for each specific epic within a Jira space.