Hi @Eva Fernandez,
As far as I can see the function is not valid. A solution would be to use Script Runner.
Below are links to similar questions:
https://community.atlassian.com/t5/Jira-questions/jira-query-issues-with-linked-issues/qaq-p/426769
Hope this helps
Script Runner has the function hasLinkType which seems to be the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.