REST API call to find issues linked with test failures?

Hi all,
Our team is trying to put together a report that will check recent builds for test failures and look for JIRA issues linked to each failure - the intent is to both identify failures that haven’t been assessed and check for frequency of known issues.
After some experimentation I’ve found that the API doesn’t seem able to retrieve JIRA links if they’re added at the test failure level - the issues don’t show up in the build result query with jiraIssues and stages.stage.results.result.jiraIssues expanded, nor do they appear if I query the stage result with maximum expansion for jira Issues and failed test results (expand=jiraIssues,testResults.allTests.testResult.errors).
Hopefully I’m missing something obvious here… does anyone know if there’s a way to access this information through the API?