pie chart loosing configuration

Ricardo Cerceau March 28, 2019

Hi all.

I made a dashboard with PIECHART gadget and sometimes I am receiving this message:

 

Looks like we can't show you the content of this gadget due to its configuration.

  • An error occurred while generating the response.

 

Any ideas?

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2019

Hello Ricardo,

I hope you are having a nice day.

There are two bugs that can be possibly causing this error which is based on the gadget filter, however, one o them only happens on Cloud.

Can you please let us know if you are using JIRA Cloud or Server?

Here are the possible bugs that you might be facing:

 

1 - Pie Chart Gadget Cannot Parse JQL with Nested Filter and WAS operator

Happens when all the 3 requirements below are met:

  • JIRA Pie Chart Gadget
  • Pie Chart users a Filter that references a different filter
  • The JQL also contains the "WAS" operator

Workaround:

"Flatten" all of the filters into one and use that for the Pie Chart.

I.e. instead of using a nicely modular "sub-filter":

filter = "testfilter"

Build a filter that includes the contents of the "sub-filter" directly inline:

status changed to Closed after "2016/09/02" AND status changed to Closed before "2017/09/01"

 

2 - Filters affected by JRA-62386 are breaking Pie Charts

Happens when your Cloud filter is referencing a project by the database ID and not the projects name.

Workaround:

Share the filter only with groups/users that have permission to view the projects in the filter

Let us know if this information helps.

Ricardo Cerceau March 29, 2019

Hi Petterson and thanks for your time.

We are using SERVER version 

I looked at both possibilities and none of then applies to our scenario.

As I told, the difficult part is that it works sometimes.

The Query is simple:

project = ENTELHG AND type = Story AND status != Cancelled ORDER BY Rank ASC

Now it is working:

 

 

But sometimes not:dashboard gadget pie chart error.PNG

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2019

Hello Ricardo,

I would like to kindly ask you to double-check if the project is not been configured with the Database ID in the query when the problem happens again.

Sometimes when a user runs the query and accidentally click on the button to save it, the project name can be updated with the ID.

Also, check in the JavaScript console if it is returning any errors.

Ricardo Cerceau March 29, 2019

This is the query:

project = ENTELHG AND type = Story AND status != Cancelled ORDER BY Rank ASC

 

As I told you, it is intermittent. Now it stops working.

And yes, we have one error in javascript console:

Ricardo Cerceau March 29, 2019

batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3323 Security tokens will be refreshed every 720000ms
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:5775 GET https://jira.egs.com.br/rest/gadget/1.0/statistics?filterId=15117&statType=statuses&_=1553889372381 404
XMLHttpRequest.send @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:5775
send @ batch.js?locale=en-US&spectrum=true:203
ajax @ batch.js?locale=en-US&spectrum=true:197
d.render @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:4020
(anonymous) @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
safeInvokeFunction @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
safeRender @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
safeRender @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
initializeAmdModule @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
init @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
AG.Gadget @ com.atlassian.gadgets.dashboard:gadgets-adgs.js?locale=en-US:3
addGadget @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3326
(anonymous) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3326
each @ batch.js?locale=en-US&spectrum=true:60
appendGadgets @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3326
init @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3326
init @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3326
addLayout @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3323
(anonymous) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3323
each @ batch.js?locale=en-US&spectrum=true:60
setup @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:3323
gadgets-loaded @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:5739
(anonymous) @ batch.js?locale=en-US&spectrum=true:1144
attached @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&spectrum=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true&whisper-enabled=true:5739
f @ batch.js?locale=en-US&spectrum=true:1147
f @ batch.js?locale=en-US&spectrum=true:1147
f @ batch.js?locale=en-US&spectrum=true:1147
f @ batch.js?locale=en-US&spectrum=true:1147
f @ batch.js?locale=en-US&spectrum=true:1147
f @ batch.js?locale=en-US&spectrum=true:1147
b @ batch.js?locale=en-US&spectrum=true:1157

Suggest an answer

Log in or Sign up to answer