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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I am trying to write a basic JQL query to show all sub-tasks under a particular issue type. Been trying to work it out by googling, but not managing. So far I have ...
project="Operational ERP" AND issuetype=Sub-task AND issue in parent("issuetype=story")
I am using a custom issue type, not Story, but changed to align to a standard type for testing.
Please note
Thanks in advance for any help!!
Nick
You cannot achieve this without using a third party plugin. I can suggest you ScriptRunner or JQL Search Extensions for Jira & reports
Scriptrunner is more expensive than JQL Search Extensions for Jira & reports after 25 users.
Here is the example how to get all sub tasks belongs to issue type story using JQL Search Extensions for Jira & reports
issue in subtaskOf("type= Story")
I guess following would be enough to get all the sub tasks of a story
parent = PC-XXXX ORDER BY status DESC, rank
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.
Hello @Nick Wheeler
You can find an answer to your question in this discussion:
I hope it helps.
Best regards, Mariana
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
issueFunction in subtasksOf("\"Type\"=Story")
That works for single named issue types, but how do I specifiy an issue type that's two words?? I've tried everything I can think of and it's not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does it work on cloud:
issueFunction in subtasksOf("\"Type\"=Story")
I get this message in Cloud
The "subtasksOf" JQL function provided by "Adaptavist Scriptrunner" for Jira Server works differently in Jira Cloud. Run it directly in "Enhanced Search" instead. See the documentation for more details: https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-jql-keywords-functions
and the link doesn't work
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.