Issue Statistics Gadget throws 'Uncaught Exception' when searching for Filters

I am using the 'Issue Statistics' macro the Atlassian has for Confluence.  However, just recenlty I have noticed that when trying to setup a new gadget, I am getting all types of errors:

I receive 'dashboard.item.error.required.query' when clicking into the 'Project or Saved Filter' - 'Quick Find' field.

In the Web browser console, I see the following:

Uncaught TypeError: Cannot read property 'current' of undefined
at f.displayDropdown (jira.webresources:autocomplete.js:3)
at f.<anonymous> (jira.webresources:autocomplete.js:3)
at f.aspect [as renderSuggestions] (com.atlassian.auiplugin:ajs-gadgets-base.js:3)
at Object.params.success (jira.webresources:autocomplete.js:9)
at Object.successHandler (jira.webresources:util-lite.js:54)
at Object.success (com.atlassian.gadgets.publisher:ajax.js:24)
at Object.AG.ajax.handleCallbacks (com.atlassian.gadgets.publisher:ajax.js:6)
at Function.AG.ajax.trustedApps.handleResponse (com.atlassian.gadgets.publisher:ajax.js:15)
at com.atlassian.gadgets.publisher:ajax.js:15
at processResponse (auth-refresh.js?v=5d17277…&container=atlassian&debug=0:327)

 

Anyone know what is happening?

1 answer

This widget could not be displayed.

I have no idea why this was happening, but it looks like this Macro has an issue with spaces in filter names.  When searching for filters that have spaces in the name, I was able to put underscores in replace of the spaces.

Example:

Name of filter: Testing Atlassian Issue Macro

searching within Confluence: Testing_Atlassian_Issue_Macro

Once doing that, my filter appeared within the Macro window and I didn't get this error.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked yesterday in Data Center

Hi! I'm Cameron Deatsch, enterprise enthusiast and Head of Server at Atlassian. AMA!

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...

19,240 views 4 4
View question

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