Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

pie chart loosing configuration

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

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.

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

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.

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:

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
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,778 views 5 15
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you