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

Hi

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 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 ...

2,936 views 12 18
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