Forums

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

JQL to find issues linked to epics

Vishal
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.
March 15, 2022

Hi Guys,

I have epics with a fixed version ABC & these epics then have linked stories, I need to list all the stories which are linked to these epics something like

Is it possible to get those story list using jql ?

3 answers

1 accepted

0 votes
Answer accepted
Vishal
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.
March 15, 2022

I have managed to get the list of all stories which are linked to those epics using below jql

issueFunction in issuesInEpics('fixVersion = "ABC"')

Alexander Bondarev
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.
March 16, 2022

Hi, @Vishal !

Nice, it is Scriptrunner's function (extra app) - here you can find the documentation

Like Vishal likes this
0 votes
Alexander Bondarev
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.
March 15, 2022

Hi , @Vishal !

If we are talking about out-of-box Jira Software Server I agree with @Fernando Eugênio da Silva , but first of all you should get these Epics: 

issuetype in (Epic) and fixVersion in (ABC)

 

Then you can use Epic's keys like told Fernando: 

"Epic Link" in (key-1, key-2)

 


Also I can recommend you cool extra app, that will be more useful - JQL Search Extensions for Jira - the JQL extensions

It can seach like that:

 

issue in allIssuesInEpic("fixVersion in ABC)
Good luck!
0 votes
Fernando Eugênio da Silva
Community Champion
March 15, 2022

@Vishal 

You need the following JQL concept:
"Epic Link" = ABC

From there, Jira will display the list of Epics and by clicking on them, Jira will load the issues (Story) associated with it. See below:

JQL shows all epics and your key:35.PNG:

 

Result. Jira show me all issues related with the epic link

36.PNG

I hope this helps. If this is not what you are looking for, please provide more details.

Regards,

 

Fernando

Suggest an answer

Log in or Sign up to answer