Hey,
I'm currently looking for a JQL Solution to filter for all issues under the highest issue level.
We got the following configuration:
Level 1
Level 2
Level 3
Epic
Story/Task
Sub-Task
how can I achieve to get a filter query, with all the issues from Level 1 downwards? Is there any possible way?
I tried the following JQL query:
linkedIssue = xxx-386 OR "Parent Link" = xxx-386
Best Regards
Niklas
unfortunately I’m not aware of a built-in solution for this. There’s the issuekey in portfolioChildIssuesOf("<parentIssueKey>") function in native JQL, but from what I can see, it only returns the direct children of <parentIssueKey>.
This being said, if you’re open to solutions from the Atlassian Marketplace, you’ll have options available. You could consider,
Hope this helps,
Best,
Hannes
... and to expand on my last point: If you're open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, JXL for Jira.
JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets.It also comes with a number of advanced features, including support for (configurable) issue hierarchies.
These issue hierarchies can be based on Jira's built-in parent/child relationships (like epic/story, or task/sub-task, and whatever you configured in Advanced Roadmaps), and/or based on issue links of configurable issue link types.
With these, you can build a view like e.g. this in just a couple of clicks:
Put simply, you'd create a sheet with all issues that are potentially relevant, define and activate your issue hierarchy configuration, and use JXL's various search and filter capabilities to hide any issues that are outside of the top-level issue's issue tree.
Once you've narrowed down your list of issues, you can work on your issues directly in JXL, trigger various operations in Jira, or export your issues with just one click.
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.
Hi @Hannes Obweger - JXL for Jira
thank you for your answer. I think we will look into the options provided by the marketplace. If I need any support I'll let you know.
Best Regards
Niklas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niklas,
if you have ScriptRunner Enhanced Search installed then you can make use of these functions: https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/jql-functions#subtask-functions
The childrenOf function seems to me the one you will need.
Best regards,
Christian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
sadly we do not use ScriptRunner (yet). Is there any way to do this with the standard Jira kit?
Best regards
Niklas
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.