Jira JQL - The linked issues

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2024

Hey everyone!

I have issues in the active sprint and also have issues that are not in the sprint but are linked to an issue that is in the sprint
More Explain?
I have an issue called Testing1 and it is in the active sprint, and have an issue called Testing2 that is not in the active sprint but linked to the Testing1

So what I am looking for, is to be able to search for all issues in the sprint + link issues to the sprint. Moreover, I want to see Testing1 and Testing2 when I search, and I tried to search how to do it in JQL and didn't have a solution 


This JQL shows me the issues in the sprint
project = "Project" AND Sprint in openSprints()
So can someone help me with it to make it searchable for issues to the sprint?

2 answers

2 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2024

Hi @user1716110792187 , you cannot achieve this with native JQL. You would need an addon, e.g. Scriptrunner or similar.

0 votes
Charlotte Santos -Appfire-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2024

Hi @user1716110792187

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, natively, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to get all issues in the sprint plus linked issues to tickets in the sprint:

project = "ABC" AND Sprint in openSprints() OR issue in linkedIssuesOfQuery("project = 'ABC' AND Sprint in openSprints()")

 Please contact our support if you have any other questions about this query.

We’ll be happy to help you! 😉

Suggest an answer

Log in or Sign up to answer