You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Dear Sir or Madam,
I am not sure if this is the right topic. I have not found any JQL-related topic that is why I post it in the general "Jira"-topic.
we are using quick-filters for the kanban-board in Jira. In 1 quick-filter we want to see
Thanks in advance
Joel
The working JQL is:
Component = "<component name>" or issueFunction in subtasksOf('component = "<component name>"')
So, when you want to check a component of a super-task (meaning you are looking at a sub-task of a story) you need this code:
issueFunction in subtasksOf('component = "<component name>"')
Shalom
Joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Megha Sinha , so that query requires Scriptrunner. Are you using scriptrunner in cloud?
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.
Can you articulate your precise goal? If it is exactly as specified by Joel then you cannot achieve OOTB. You will need some addon solution. I recommend continuing your search in the Community as well.
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.
@Joel Hofer
This works great - just what I needed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not working, sub queries are not working in JIRA anymore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Joel Hofer ,
@Megha Sinhaasks how to get the same results in Jira Cloud. 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. Your use case is more dynamic than that.
Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service:
After you install the app, you can simply search:
component = "<component name>" OR issue in subtasksOfParentsInQuery("component = '<component name>'")
Make sure the check out the documentation.
I hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joel, welcome to the Community. OOTB there isn’t a JQL to achieve your goal. However, what about placing the component into the Subtask? This would allow the following to work...
component = xxxx and type = sub-task
if this won’t work consider an addon, e.g. Scripting that has JQL functions that could meet your needs.
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.