Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filtering on Linked issues that are closed

Robin Stemmers
Contributor
April 23, 2025

Hi All

 

I want to create a filter to show me all tickets that have a linked issue with a status of closed.

I am basically trying to get the following

project = X AND issuetype = "Employee Offboarding" AND resolution = Unresolved AND linkedIssues in ("Status= Completed")

This however give me an error: Field 'linkedIssues' does not exist or you do not have permission to view it.

Please help

3 answers

2 votes
Piyush Annadate _ACE Pune_
Community Champion
April 24, 2025

Hi @Robin Stemmers ,
The Native JQL doesn't offer linkedIssuesOf option. You may need to use additional plugins.  Or manually filter or use automation/custom field to propagate linked issue status. 

If using Scriptrunner, that would be as below:

 


project = X AND issuetype = "Employee Offboarding" AND resolution = Unresolved  and issueFunction in linkedIssuesOf("statusCategory = Done")

 

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.
April 25, 2025

Hi @Robin Stemmers 

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 you can use the following query to show open tickets with closed linked issues:

issue in linkedIssuesOfQuery("status = Completed") AND project=X AND issuetype='Employee Offboarding' AND resolution= Unresolved

Please contact our support if you have any other questions about this query, or the app in general.

We’ll be happy to help you! 😉

0 votes
Calvin
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.
April 23, 2025

Are you using ScriptRunner or just native Jira? I think with script runner they have

issueFunction in linkedIssuesOf("status = Completed")

Robin Stemmers
Contributor
April 24, 2025

Native Jira

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events