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 Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

185 views 4 1
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