The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Possible to use the result of a filter in a jql?

Saskia Veldhoen
October 30, 2024

I want to see a list of all stories and bugs belonging to a parent (query a), where the parent has a certain value as property (query b).

I started with making a filter to get all the issue keys of the epics (query b) and used this list of keys in my query a.

Query a: project = xxx and (type IN (Bug, Story) and status in (Done) and resolved >= "2024-01-01" AND resolved <= "2024-12-31") and parent in (comma seperated list of results of query b)

Query b: type = Epic and "Categorie" = "yyy"

Is it possible to join both queries, so that I will have only 1 query?

Something like:

project = xxx and (type IN (Bug, Story) and status in (Done) and resolved >= "2024-01-01" AND resolved <= "2024-12-31") and parent in (type = Epic and "Categorie" = "yyy")

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Rudy Holtkamp
Community Champion
October 30, 2024

hi @Saskia Veldhoen & welcome to the community!

Sorry to bring it to you, but with out-of-the-box Jira you can not use a sub-filter/sub-query.

You need to use an app for that, as an example JQL search queries for Jira. But this is probably not the only app which can do this.

 

 

 

Saskia Veldhoen
October 30, 2024

Thank you for the welcome and the response, Rudy. I will take a look at it.

Like Rudy Holtkamp likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events