Count of SubTasks in JQL

Maarten Cautreels Community Champion Jan 13, 2013

We are trying to filter all Stories (type = Story) with no subtasks. Those stories need extra time to define before we can start working on them. I'm looking for a way to create a field with the number of subtasks for a certain task (Epic, Story, ...).

Is this possible? Does this already exist?

Thanks in advance,

Maarten Cautreels

3 answers

1 accepted

OnDemand tough :(

Otherwise our famous Script Runner would have helped you to write a simple scripted field.

0 vote

Indeed! It could also be done with the jql functions in script runner:

issuetype = "Story" and issueFunction not in hasSubtasks()

0 vote
Maarten Cautreels Community Champion Jan 14, 2013

Thanks for the answers. I hope something gets implemented in the future. Or the Script Runner should become available on OnDemand instances!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

552 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you