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

1 vote
Renjith Pillai Community Champion Jan 13, 2013

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,329 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot