It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get a list of "issues in epic" in Jira

vaishali saraf Aug 21, 2016

We link issues to Epic in Jira.

2 ways to add a bug in epic

1) From a bug  – click 'More' => click link and select "Related to" and type in the epic number.

Now the issues will be related to the epic.

To get a list of linked issues

issue in linkedIssues("ABC-123") – works.


2)  From bug screen  click "Edit" and add epic link.

When we do that the bug is seen "issues in this epic" section.

How to get a list of the the "Issues in this epic" with their key and current status.?





4 answers

2 votes
RPandyaram Aug 21, 2016

hi @vaishali saraf ,

Epic link is majorly used to link a story .

Query can be like this for a story:

issuefunction in linkedIssuesOf("project = ABC", "is Epic of")
Bugs can be linked to an epic with 'Relate' as well.

For 'Relate'  issue link , the outward and inward description is same 'Relates to' by default.

If you want them to be separately defined , edit the description under issues tab with admin rights.

Once you have new links towards the epics from bug, use the same query 'issuelinks'.


Hope this helps.


vaishali saraf Aug 21, 2016

Thanks for your answer .

issuefunction in linkedIssuesOf("project =RDPROG" , "is Epic of")

When I tried above query... I got 

"Field 'issuefunction' does not exist or you do not have permission to view it."

Sorry... I am struggling here a bit.  

One this is not clear ...Where should I give the number of epic ( Issue key) whose issues I want to display.



Michael Schlueter Aug 21, 2016

For the issuefunction you need the Script Runner Plugin.

Joel Aug 01, 2018

everytime i try to do anything advanced in JQL i come back to... "go get the script Runner Plugin". This is not cool.

Like # people like this
William Stephens Oct 26, 2018

Completely agree, this is extremely annoying

Like # people like this
Joel Mar 14, 2019

So its been a few months since my company broke down and bought script runner. I will say this. It's a fantastic plugin and does a million and one things. The big stinky though is that we have to shell out a small fortune for this added functionality that really would be awesome if it was part and parcel to the Atlassian tool set.  After getting my head around groovy and the API it's fairly stunning as to what can be accomplished. If you haven't bought it and have a few plugin's on a list of items to buy but are confused as to which ones should be priority... Script Runner should be at the top of your list.

Like Micha van Toornburg likes this
Joel Mar 14, 2019

Also I'll add I don't work for script runner or am no way associated with that company.

2 votes
Michael Schlueter Aug 21, 2016

How about ("Epic Link" = ABC-123)? Should be as easy as that. Maybe I've got you wrong.

Tom Proctor Aug 22, 2016

And if you have multiples;

"Epic Link" in (ABC-123,EFG-123, ABC-456,etc...)


If you don't want to list all the EPICs then: "Epic Link" is not EMPTY

Then export the info to excel and rock-on!


Matthew Gately Jan 02, 2018

You are absolutely right, however, I actually found benefit from the given answer using linkedIssuesOf(), because my list of Epics is itself derived using a filter, and so can't be hardcoded like is done here.

Mel Dett Aug 02, 2018

I have a query to derive the Epics in which I want the linked issues.  Is there a way to list the linked issues within the query that derives my Epics?  I'd like to do this with just one query.  seems I should be able to.  I do not yet have script runner.  I tried linkedIssuesOf() but keep getting operator errors.  Like you the query derives the Epics.

Like Bert Kellerman likes this
0 votes
Junio Fernandes Aug 23, 2018

This may help:

issue in issuesParents("project = ABC or project = ABD")

It lists all items related to each epic under the projects.

0 votes
Dave Hearne May 02, 2019 • edited
issue in childIssuesOf (epic key)

The above worked perfectly for me. Replace epic key with your own info. The name of the Epic will not work, even in quotes.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,326 views 6 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you