Upgrade to the latest Atlassian release of the Jira software version 9.4.11, 9.10.2, 9.11.1 or higher, which includes the MySQL 8.x fix, and the ActiveObjects library upgraded to version 5.0.3. Refer to Issues resolved in 9.4.11.

Using reports in Dashboards/Gadgets