Query that returns the stories where logged work > original estimate (including subtasks)


I'm trying to build a query that returns all the stories in a sprint where the logged work of all subtasks exceed the original estimates of all subtasks.

I tried experimenting with "workratio" but this only seems to work at the subtask level. Is there a way to make this work at the parent level (including all the subtasks)?

I have access to ScripRunner if it's needed.

Thank you

1 answer

@Eric PortelanceIn perspective of agile methods there is something to note on. An estimate is a relative value and not compareable with time. If you are estimating in hours then you could do the compare, but then you are semi-agile.


Ok, if you still say "I know what I am doing" - read on:

I can recommend using the API. There you can add multiple values of subtasks and then compare it to another value (of the story). When the estimate was exceeded you can mark the parent story with a label or another custom field. So you can make them visible with another query within the UI.

Thank you @Sebastian Kleinholz. Do you know if I need System admin rights to use the API? I only have project admin rights. Any other suggestions?

Everything you can do with your browser can be done with the API, in perspective of access rights.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,460 views 2 7
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