Forums

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

JQL Querie to extract tasks from dynamic Epics

nicolas lembeye October 12, 2022

Hello Everyone,

 

Request is simple (in my mind) but i'm unable to transfer it into JQL Querie :

 

I have a field "Milestone" on my Epics

I want to display on the issue search (and send it to dashboard) issues that are under the Epic with the correct Milestone.

 

Let's get an example : 

Epic-1 has milestone "X" containing Task-1 and Task-2

Epic-2 has Milestone "Y" containing Task-3 and Task-4

 

I need a JQL Querie to extract Task-1 and task-2 only.

 

I could use "Parent Link" in (Epic-1) but if i create another epic (Epic-3 with Milestone "X" and task-5, task-6),

i need to display task-1 task-2 task-5 task-6.

 

Thanks a lot

2 answers

0 votes
Trudy Claspill
Community Champion
November 3, 2022

Hello @nicolas lembeye 

There is no native JQL functionality that will enable you to select child issues from multiple epics based on a filter other than the Epic Issue Key.

Are you open to using third party apps that extend JQL functionality, or do you have any such apps already installed like Adaptavist Scriptrunner or JQL Search Extensions? Other apps that extend JQL can be found on the Atlassian Marketplace 

nicolas lembeye November 23, 2022

Hello, i'm sorry for the Delay. Unfortunately, no i cannot use Third party app. I'll try to look for alternatives

Thanks for the Answer anyway

Trudy Claspill
Community Champion
November 24, 2022

If you are not able to add third party apps from the Marketplace to your instance, the only solution available is to use the REST API, and then loop through that result list to get the child issues for each epic in the list. However that will not allow you to display the results within the UI in the search or dashboard screens.

nicolas lembeye November 28, 2022

understood. thank you for the feedback.

0 votes
nicolas lembeye November 3, 2022

Hello. Up ?

Suggest an answer

Log in or Sign up to answer