How to display 0 stats in widget "Issue Statistics"

I have added widget "Issue Statistics" to display number of test cases count by type. Statistics are showing perfectly except one thing. I need to display 0 stats against those test cases type which do not have any.

As you can see below, all test cases types. Except one which is Automation Cases. But we have not created any cases for that. So, how can I display Automation Cases Type also in the widget with count 0

JIRA.png

1 answer

0 vote
Alex Christensen Community Champion Sep 20, 2017

This isn't possible out of the box with JIRA. I don't know of any add-ons that do this, either. A gadget just takes the information from a filter and display what is contained in the filter - the gadget doesn't know to look for a value that isn't present in the JQL/filter.

If you're using an add-on for test management, I would check their documentation to see if there's another way to get this information.

Other than that, I believe you would need to rewrite the code for this gadget in order to display values that have zero issues with that value. I bet you could create a custom report using an add-on like PDF View Plugin, but it's only available on Server (not sure if you're on Cloud or Server).

Thanks Alex for your detailed answer. Let me tell you that I am using Cloud services. Further, I would like to know how can I customize this tool. Right now, I am not using any plugin. If there is any possibility regarding widget customization, please share with me. 

Alex Christensen Community Champion Sep 21, 2017

Customization in JIRA Cloud is pretty much limited to the add-ons you decide to install to extend/add functionality. Atlassian has ownership of being a system administrator and their servers, so you don't have the ability to really add your own code to any of their Cloud software. You would have more flexibility in extending JIRA with your own code if you had JIRA Server or Data Center.

As far as add-ons go, EazyBI is a pretty popular add-on. Just from a quick search on the marketplace, there might be a few add-ons that are worth looking at to fulfill your needs here (like JavaScript Charts from Atlassian Labs - I've never used this before, so I can't attest to it personally).

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

634 views 6 12
Read article

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