• Community
  • Products
  • Jira
  • Questions
  • How to create a JIRA filter to track all bugs across several versions in a project, but exclude a bug from a version if it has that version in the fixed version field?

How to create a JIRA filter to track all bugs across several versions in a project, but exclude a bug from a version if it has that version in the fixed version field?

One project, multiple versions, bugs only

This is the goal:

Track all non closed bugs in that project across all versions and display the results broken out by version – but do not display a bug for a version if that version appears in the fixed version field.

5 answers

0 vote

this is not very clear, add some sample output...

@Jamie Echlin (Adaptavist) thanks for taking a look....

You have versions: A, B, C

You have 3 bugs: #1 affects A, #2 affects A & B - but was since fixed on A, and #3 affects C

 

So the filter should show 1 bug for each even though there were technically a total of 4 affects versions on those 3 bugs:

Version A: 1 bug

Version B: 1 bug

Version C: 1 bug

The problem I'm running into - from the example above - is that if I exclude the ones with a fix version of A, it removes that bug from counting against the affects version of B

0 vote

I doubt you can do that in plain JQL. You could either write a report, gadget, or your own JQL function, or look at one of the reporting plugins available for jira.

Well this is not possible in JQL.

project = "PROJECTKEY" and issuetype = Bug and fixVersion not in (RETRIEVE ALL THE VERSIONS OF THE BUGS)

You can try a simple JQL like this.

project = "PROJECTKEY" and issuetype = Bug and fixVersion is EMPTY

Or try SQL for JIRA plugin to write complex queries. Here is the link: https://marketplace.atlassian.com/plugins/com.kintosot.jira.jdbc4jql/server/overview

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,189 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