• 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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted yesterday 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...

83 views 0 1
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