Finding active users on a particular date in Crowd

プラットフォームについて: 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 order to find the information about active users on a particular date in Crowd, you can run a database query to pull the data.

環境

4.1.0+

ソリューション

select user_name, active, created_date from cwd_user where user_name not in ( select aly.entity_name from cwd_audit_log_changeset cs join cwd_audit_log_entity aly on aly.changeset_id = cs.id join cwd_audit_log_entry alr on alr.changeset_id = cs.id where ((cs.event_type =('USER_CREATED') or (cs.event_type =('USER_UPDATED') and alr.new_value='false'))) and aly.entity_type = 'USER' and alr.property_name = 'Active' and TO_TIMESTAMP(cs.audit_timestamp/1000 )::date >= current_date -1);

更新日時: September 26, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。