Forums

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

All stories from Project Y with Epic link, where Epic is in Project X

Christopher Vitale
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 1, 2022

Hi. I am looking to query for all all stories in Project Y with Epic link, where Epic is in Project X.

Thanks in advance for any help you can offer!

CV

2 answers

0 votes
mauricio.groth
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.
November 1, 2022

Hi @Christopher Vitale 

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.

With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

You can use this query to find all stories in Project Y with Epic link, whereas Epic is in Project X

issue in childrenOfEpicsInQuery("project = x") and "Epic Link" is not EMPTY and type = Story and project = Y 

Check out the documentation for more examples.

If you have any other questions, please contact our support. We’ll be happy to help you!
Best regards,
Maurício

0 votes
Mikael Sandberg
Community Champion
November 1, 2022

With basic JQL you would have to include all the epics in your query in order to do that, your other option is to get an app that extends JQL so you can do nested queries like this. There are a couple of apps in the Marketplace that does this, I have used JQL Tricks and Scriptrunner in the past, but check out the other apps too.

Christopher Vitale
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 1, 2022

As I suspected. Thank you @Mikael Sandberg

Like Mikael Sandberg likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events