JQL or SQL to get list of JIRA projects which don't have Bug issue type created in it. Edited

Hi Team,

We want to get list of JIRA projects which don't have Bug issue type created in it.

Could you please help us on this.

Appreciate your help!

Thanks,

Suchit Kharatmol

2 answers

0 vote

I'd like to clarify the question, as it might mean one of two things.

Do you mean:

  • The project does not have the Bug issue type assoicated with it
  • The project does allow for Bugs, but no-one has created any yet

With the second one, you can do it, although it's not ideal.  Run a filter for everything (a blank filter!).  Save it, then create a new dashboard with a "2 dimensional filter results".  This should use your filter, and the axes should be "project" and "issue type".  You can then scan the "bug" column for 0s.

Note that will ignore empty projects. 

Hi Nic,

Thank you so much for your quick response!

I mean the second one 

  • The project does allow for Bugs, but no-one has created any yet

You are correct Nic,I tried the solution suggested by you but it not an ideal one.For example blank filter will only show the list of projects in which at least one issue is created.This created issue may be of any type.

So in this case it is not listing the list of projects with no issue created in it on two dimensional statistics gadget.

Appreciate your help!

Please let me know if you can help me with any other alternative solution.

Thanks,

Suchit Kharatmol

 

JQL is not built to return a negative, you'd need to get the full list of projects and then subtract the ones that do have bugs in them from it.

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,323 views 14 20
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