Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

in JQL get epic name for a known epic link

I want to create a filter that will yield only stories that have a linked epic where the name is like a given string, e.g. prefix to epic name of P: si P:Actualepicname

"epic name" ~ "P:*"

Any ideas?

epicName("epic link") returning epic name would be amazing.


Any help much appreciated.

1 answer

Hello Gus,

How are you?

Could you please let us know if you are using JIRA Server or Cloud?

I understand that you would like to create a filter to display all stories that are linked to an Epic which Epic-name contains a specific string. Is that correct?

Unfortunately, it is not possible to return this kind of information using only JIRA JQL functionality, however, there are some add-ons that extend the JQL functionality and would allow you to return this kind of query. Here would be the recommended ones:

1 - For JIRA Server, you can install Scriptrunner plugin and use the following function:

issueFunction in issuesInEpics("epic name" ~ "P:*")

You can check this documentation for more information: JQL Functions provided by Scriptrunner

2 - For JIRA Cloud, you can install the JQL Search Extensions and use the following function:

issuesFromEpicsInQuery = "epic name" ~ "P:*"

You can check this documentation for more information:

JQL Search Extensions metadata.attachments Subqueries - JQL Search Extensions for Jira Cloud

Let us know if this information helps.

In advance, have a nice weekend!

Thanks so much for the reply. Actually, I have decided to solve my issue another way, using components, The tag that I was going to use in the description I have emulated with components.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,490 views 5 15
Join discussion

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