Forums

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

get all children from EPIC based on result from other query

Eduard Albach
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!
November 14, 2021

Hi,

can I create a query to use the results from another query?

e.g.: I have a query that will show me all EPIC of a specific fixVersion -> I will have 25 EPICs.

Now I want to use this result to get all children of the EPIC.

Something like this: "Epic Link" = (savedFilter = "MyFilter")

 

1 answer

1 accepted

3 votes
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
November 14, 2021

Hi @Eduard Albach 

 

As far as I know, there is no such possibility using build-in jql queries.
You can achieve it using for example ScriptRunner JQL function:
issueFunction in issuesInEpics (Subquery)

Docs: https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_issuesinepics

 

In your case it should be something like:
issueFunction in issuesInEpics("fixVersion='1.0'")

 

Best regards,

Piotr

Eduard Albach
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!
November 14, 2021

perfect thanks! that was what I was looking for

Suggest an answer

Log in or Sign up to answer