Query in Jira to show the stories, major bugs related to them and time spent on them

Please advice what query shoulde be used in Advanced Search in Jira to get

- stories of one specific Scrum sprint

- major bugs (P3, P2, P1) related to every of these stories and time spent on every of these stories and bugs

What I need is to compare our initial estimate of sprint stories and real time amount spent on the implementation of theses stories and fixing of all the bugs related to every of these stories

Thank you a lot

1 answer

1 accepted

Hi Dzi,

1.) stories of one specific Scrum sprint

Issuetype = "User Story" and Sprint = [ID]

2.) major bugs (P3, P2, P1) related to every of these stories and time spent on every of these stories and bugs

Here I can recommend the script runner plugin from Jamie Echlin. Besides a huge number of other useful functionalities it brings scripted JQL funtions and I guess you can useone of the Issue Links functions, e.g.:

hasLinkType(link type name)

comment there:

Searches for issues that have the specified link type in either direction. You need to provide the link type name, for instance
Blockers, Duplicate, Clones, "Epic-Story Link" (for Greenhopper). If you misspell it the validation error will give you a list of suitable link names.

I guess, am almost sure that this will help you!

Cheers

Kai

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,096 views 13 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