Jira Cloud
I need to be able to find stories in specific statuses that are linked to epics in specific statuses in a specific project
I'd like the following to actually work in cloud:
Project = XXX and linkedissue('project = xxx and issuetype = epic and status in (1, 2, 3)) and issuetype = story and status in (4,5,6)
welcome to the community!
Unfortunately, this is trickier than one might think; as a "hierarchical query", it would really require some kind of "join" or "subquery", which isn't available in plain Jira/JQL.
A few directions forward:
If you want to run your search "dynamically", without manually "stitching" two queries together, you'll need extra tooling:
Hope this helps,
Best,
Hannes
Just to expand on the last point, this is how this would look in the app that my team and I are working on, JXL for Jira. Put simply, you create a sheet with all issues that could be potentially relevant, enable the default issue hierarchy (that's just one click), and then hide all issues that aren't part of the given hierarchy (that's another one click):
Once you have your list of issues, you can work on these directly in JXL (much like you'd do in e.g. Excel or Google Sheets), trigger various operations in Jira, or export them for further processing.
Any questions just let me know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I’m Maurício, a support engineer at Appfire and I’m here to help you.
Unfortunately, using JQL of Jira, you’ll not be able to do it.
In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all your stories in specific statuses that are linked with epics from project X and other specific statuses.
issue in linkedIssuesOfQuery("type = epic and project = x and status in (1, 2, 3)") and issuetype = story and status in (4,5,6)
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
Best regards,
Maurício
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community !!
Not sure if this can be achieved by out of the box JQL.
I believe you will need a third party app which enhances JQL functionality or you can also try out hierarchy focused apps to meet this requirement.
We have built an app for the same use case.
Try it out and meet functionalities such as:
- Sum up values to see overall progress for your Issue Hierarchy
- View the full hierarchy of linked issues, Portfolio/Advanced Roadmaps, Epics, and Subtasks
- Apply filters to put the focus on the relevant data only
- Excel like editing for all the values right on the report and see real time progress updates
- JQL filter for child issues
- Export to a CSV file
- Embedded Epic Hierarchy on Issue Screen
- Dashboard Gadgets
Disclaimer : I am part of the team which developed this app
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.