• Community
  • Products
  • Jira
  • Questions
  • How to count all bugs identified in a certain time period in software versions that were already released by that time?

How to count all bugs identified in a certain time period in software versions that were already released by that time?

I want to retrospectively evaluate for the last three years some metrics for certain quarters. Specifically, we want to compute:

  • The number of bugs identified during a certain time period (e.g a quarter of a specific year) in software versions that were not released by that time? 
  • The number of bugs identified during a certain time period in software versions that were already released by that time? 

Can anybody give me some hints on how to formulate the jql query?

Thanks in advance!

 

 

1 answer

Try the JQL below, it maybe a part of what you want.

Project = ABC and IssueType = "Bugs" and fixVersion in releasedVersions() and created >= 2015-1-1 and created <= 2015-3-31
 
Project = ABC and IssueType = "Bugs" and fixVersion in unreleasedVersions() and created >= 2015-4-1 and created <= 2015-6-30

_https://confluence.atlassian.com/jira/advanced-searching-179442050.html#AdvancedSearching-AffectedVersion_

Is your team populating the "Affected Version" and "Fix Version" properly? You can also use that field assuming your team have honestly/accurately populate it smile

They are at least supposed to do it (I am confident...). So the function releasedVersion can reflect the release state at a certain time point in the past and derive the time point from its context defined by the JQL query? What I mean is that a software version which is in the state "released" today was perhaps not in "released" in Q1/2015, but I still want to collect data about the situation in Q1 today. Thanks for your quick reply!

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,110 views 13 19
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