Forums

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

How I can use the keys of a saved filter in other JQL search

BRAYAN DANILO VELASQUEZ JIMENEZ
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!
January 18, 2024

I want an advanced search using another filter, for example if I want to search for this JQL, but instead of using a specific key use the keys of another query, such as

issue in linkedIssues(ABC-123,"is duplicated by")


issue in linkedIssues(Other JQL,"is duplicated by")

 

2 answers

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.
January 19, 2024

Hi @BRAYAN DANILO VELASQUEZ JIMENEZ

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

Unfortunately, using vanilla JQL, 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 find linked issues in a specific project from a specific type, for example:

 issue in linkedIssuesOfQuery("project=ABC AND type = Story", "is duplicated by")

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

We’ll be happy to help you!

0 votes
Trudy Claspill
Community Champion
January 18, 2024

Hello @BRAYAN DANILO VELASQUEZ JIMENEZ 

The native Jira JQL function you have specified doesn't support what you want.

In general, the native Jira JQL functions don't support use of another filter as a parameter for the function.

You would need to consider a third party app that extends JQL capabilities to get such a feature. Are you open to that option?

Suggest an answer

Log in or Sign up to answer