How to get a list of filters and dashboards shared with a specific group in Jira
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
In Jira, you may want to get a list of all dashboards and filters that are shared with a specific group. This is possible by using SQL queries below (they were written for PostgreSQL, so some modification for your DBMS may be required)
ソリューション
How to get a list of filters shared with a specific group. Replace group-name with the desired group.
SELECT sr.id, sr.filtername
FROM searchrequest sr
INNER JOIN sharepermissions sp on sr.id = sp.entityid
WHERE sp.entitytype = 'SearchRequest' AND sp.sharetype = 'group' AND (param1 = 'group-name' OR param2 = 'group-name')How to get a list of dashboards shared with a specific group. Replace group-name with the desired group.
SELECT pp.id, pp.pagename
FROM portalpage pp
INNER JOIN sharepermissions sp on pp.id = sp.entityid
WHERE sp.entitytype = 'PortalPage' AND sp.sharetype = 'group' AND (param1 = 'grup-name' OR param2 = 'group-name')この内容はお役に立ちましたか?