I have been trying to create a search that will list all issues with a specific link type linked to a specific issue type. So far I have issuetype = "A" AND issueFunction in hasLinks('X'). This will give me all A type issues that have a link type of X, which is great but in order to get what I am looking for is to filter further and limit the list to issues that have a X type link to another A type issue. So basically, I am looking to fulfill the following logic
Does the issue have a type X link and does that link X link to a type A issue.