On our project we want to track of cycle time for stories, tasks and sub-tasks. In using the control-chart we need to avoid double-counting where a story or task has sub-tasks (simple stories or tasks don't have sub-tasks in our world).
So I'd like to have a filter that would be a disjunction of sorts - include all sub-tasks, and only stories and tasks that have no sub-tasks.
looking through the JQL documentation I can't see a way to do this
Hello,
You can not do it with the out of the box JQL, but you could use an add-on.
For example, you could use the Power Scripts add-on:
Your JQL query would look like this:
project = test and issuetype in subtaskIssueTypes() or not (key in hasSubtasks("project = test"))
Thanks for the suggestion, but unfortunately Power Scripts for Jira Cloud doesn't support SIL JQL functions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, you are right. You would need to look for a plugin, which supports JQL functions for 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.