Hi
You cannot do it with JIRA vanilla, you are limited to only query issue linked to a specific issue using linkedIssues().
But you can do it with 3rd party app such as Scriptrunner.
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_linkedissuesof
I'm not familliar with JQL Trciks but this app may also do what you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This SQL should works or close to
select CONCAT(projectsource.pkey,'-',source.issuenum) as IssueSource, issuelinktype.OUTWARD ,CONCAT(projectdestination.pkey,'-',destination.issuenum) as IssueDestination from issuelink
left join issuelinktype on issuelink.id = issuelinktype.id
left join jiraissue destination on issuelink.destination = destination.id
left join jiraissue source on issuelink.source = source.id
left join project projectdestination on projectdestination.id = destination.project
left join project projectsource on projectsource.id = source.project
where linkname = 'Blocks'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.