Retrieve user email type preferences from the database
プラットフォームについて: 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 は除く
要約
While you can set the default email type globally in Jira, users have the ability to override this setting within their own preferences. Should you need to retrieve a list of how each user has configured this setting, you can do so via the following SQL example.
ソリューション
重要な注意事項
This query only returns users who have explicitly set an email type preference. If a user is not returned, they are inheriting the default global value.
select
au.lower_user_name
,ps.propertyvalue
from app_user au
join propertyentry pe
on au.id = pe.entity_id
and pe.entity_name = 'ApplicationUser'
and pe.property_key = 'user.notifications.mimetype'
join propertystring ps
on pe.id = ps.id;この内容はお役に立ちましたか?