How to Retrieve a List of Sharing Information of Filters or Dashboards on Jira Database
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Summary
As an administrator, one might want to find out who a filter or a dashboard is shared with. You can view this information on the Administration pages or use the below SQLs to get the full list for other purposes.
Managing filters and Managing dashboard documents on Jira Documentation explains how to achieve these on the Jira Web GUI.
Environment
Jira Software 8.20 or later or Jira Service Management 4.2 or later
Solution
The content on this page relates to platforms which are supported; however, the content is out of scope of our Atlassian Support Offerings. Consequently, Atlassian cannot guarantee support. Please be aware that this material is provided for your information only and you may use it at your own risk.
Jira stores the sharing information in the "sharepermissions" table on its database.
Dashboards have an entitytype='PortalPage'
Filters have an entitytype='SearchRequest'
sharetype='global' means the dashboard is shared with anonymous access. The System Dashboard should be on this list.
Login to the JIRA database.
Run the below SQL to find which dashboards are shared with which other users or groups
1 2
select * from sharepermissions s where entitytype='PortalPage' limit 1000;
Run the below SQL to find which filters are shared with which other users or groups
1 2
select * from sharepermissions s where entitytype='SearchRequest' limit 1000;
Was this helpful?