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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,090 views 4 9
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