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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I suspected. Thank you @Mikael Sandberg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.