We have many ways to link issues together, and sometimes the same issue can get linked with a different reason.
I was thinking it could be possible with,
When: Issue Linked
If: Linked issues match(specific link types)
All match specified JQL
{{issue.key}}