I have the following JQL and imported the link already.
issuetype = Incendent AND project in (x, y) AND issue in linkedIssuesInQuery(“issuetype=Incendent and project in (a, b)”, relates)
I created the following custom measure to count for each issue the Linked bugs from another project:
CASE WHEN
[Measures].[Issues created]>0
THEN
NonZero(Count(
Filter(
[Issue].[Issue].GetMembersByKeys(
[Issue].CurrentMember.get('Bugs')
),
[Issue].CurrentMember.Parent.Name="DEMO Beta"
)
))
END