How to disable FishEye Charts gadgets and Recent Changesets gadgets in Jira
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Purpose
If you do not use FishEye or Crucible, you may not want users to have the ability to add related gadgets into Jira Dashboards. These gadgets include:
- FishEye Charts
- Crucible Charts
- FishEye Recent Changesets
Solution
- Visit Jira Admin Settings
- Choose Manage Apps
- Change dropdown from "User apps" to "All Apps"
- Find FishEye plugin in the list
- Click "X of X modules enabled" link
- Finally, disable the gadgets of your choosing:
- Fisheye Charts (fisheye-charting-gadget)
- Crucible Charts (crucible-charting-gadget)
- Recent Commits (fisheye-recent-commits-gadget)
- Success! Now these gadgets will no longer be available for selection when adding a new gadget. Any of these gadgets already added to Jira Dashboards will be replaced by a "this gadget cannot be loaded" placeholder.
Understanding what dashboards use these gadgets
If you wish to understand what dashboards have these gadgets added, you may use the following SQL
The following SQL was tested on Jira 8.5, on Postgres 9.6 You may need to adjust the query if you are using a different Jira version or database
select DISTINCT pp.id, pp.username AS user_key, pp.pagename AS dashboard_name, CONCAT('https://YOUR_JIRA_DOMAIN_HERE/secure/Dashboard.jspa?selectPageId=', pp.id) AS url from portalpage pp
INNER JOIN portletconfiguration pc on pc.portalpage = pp.id
WHERE pc.gadget_xml LIKE '%fisheye-charting-gadget%' OR pc.gadget_xml LIKE '%crucible-charting-gadget%' OR pc.gadget_xml LIKE '%fisheye-recent-commits-gadget%'