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


1 answer

0 votes
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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,232 views 5 10
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