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

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 Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

54 views 0 3
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
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