Velocity template for release notes: Get links of issue


I am writing a custom velocity template for release notes creation (like described here

In this context, I would like to query all links of an issue.
I tried if there is a context variable $issueLinkManager (the API has an interface IssueLinkManager:, but that does not exist.

Is it possible to get links of an issue here?