Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:
Search all Stories without subtasks
type = Story AND
Using this app you can also query other issues relations, check:
Hope this helps you to create awesome queries <3
Much like your other query on Epics, you'll need an app to achieve this using JQL. We use ScriptRunner but there will be other options depending on your host type.
So you could do this query:
issueFunction not in parentsOf("project = VER") and issuetype = Story
^ I added the Story search because otherwise it finds any issue without a standard Sub-task parent - such as Epics or Sub-tasks themselves! You could extend this to:
issueFunction not in parentsOf("project = VER") and issuetype in (Story, Bug, Task)
...if you needed to.
To add, you could use this search also - but only in the Server versions. According to documentation, this is not available in Cloud:
issuetype = Story and issueFunction not in hasSubtasks()
Hi @Stephen Wright _Elabor8_ thanks for this answer!
As a follow up, I'm wondering how I can query for a story without a sub task of a specific sub task type.
For example, we have "Dev Task" and "QA Task" that are both sub-tasks, and I want to query for a story with no "QA Task" sub tasks.
Is this possible?
Something like this should work:
issueFunction not in parentsOf("issuetype = 'QA Task'") AND issuetype not in subTaskIssueTypes()
This provides all issues which are...
We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...