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
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 yesterday in Trello

Get inspired with Trello & earn free Gold

A blank Trello board can be both a beautiful and intimidating thing. How many lists should I have? Is creating 10 labels overkill? How can I best track my progress? Is there a way...

30 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