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

Tyler O'Neal April 19, 2017

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

0 votes
Tyler O'Neal May 18, 2017

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
TAGS
AUG Leaders

Atlassian Community Events