How to Query Team Calendar Events by Date

プラットフォームについて: 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 は除く

要約

As the filtering and search feature for Team Calendar events is currently not available through the UI just yet, we can query Team Calendar events in the database for reporting or related purposes. The following queries will allow you to search calendar events based on a date:

ソリューション

ℹ️ The query below uses '2021-07-15' as the search term (at the very end of the query), please change it to the date you're looking.

MySQL

SELECT AO_950DC3_TC_EVENTS.SUMMARY, AO_950DC3_TC_EVENTS.DESCRIPTION, FROM_UNIXTIME((AO_950DC3_TC_EVENTS.START/1000)), FROM_UNIXTIME((AO_950DC3_TC_EVENTS.END/1000)), AO_950DC3_TC_SUBCALS.NAME FROM AO_950DC3_TC_EVENTS JOIN AO_950DC3_TC_SUBCALS ON AO_950DC3_TC_EVENTS.SUB_CALENDAR_ID = AO_950DC3_TC_SUBCALS.ID WHERE FROM_UNIXTIME((AO_950DC3_TC_EVENTS.START/1000), '%Y-%m-%d') = '2021-07-15';

Postgres

SELECT "AO_950DC3_TC_EVENTS"."SUMMARY", "AO_950DC3_TC_EVENTS"."DESCRIPTION", to_timestamp(("AO_950DC3_TC_EVENTS"."START"/1000)), to_timestamp(("AO_950DC3_TC_EVENTS"."END"/1000)), "AO_950DC3_TC_SUBCALS"."NAME" FROM "AO_950DC3_TC_EVENTS" JOIN "AO_950DC3_TC_SUBCALS" ON "AO_950DC3_TC_EVENTS"."SUB_CALENDAR_ID" = "AO_950DC3_TC_SUBCALS"."ID" WHERE to_timestamp(("AO_950DC3_TC_EVENTS"."START"/1000)) ::date = '2021-07-15'

ORACLE

SELECT AO_950DC3_TC_EVENTS.SUMMARY, AO_950DC3_TC_EVENTS.DESCRIPTION, to_date('01.01.1970','dd.mm.yyyy') + to_number(AO_950DC3_TC_EVENTS."START")/1000/60/60/24, to_date('01.01.1970','dd.mm.yyyy') + to_number(AO_950DC3_TC_EVENTS.END)/1000/60/60/24, AO_950DC3_TC_SUBCALS.NAME FROM AO_950DC3_TC_EVENTS JOIN AO_950DC3_TC_SUBCALS ON AO_950DC3_TC_EVENTS.SUB_CALENDAR_ID = AO_950DC3_TC_SUBCALS.ID WHERE to_date('01.01.1970','dd.mm.yyyy') + to_number(AO_950DC3_TC_EVENTS."START")/1000/60/60/24 = DATE '2021-07-15';

MS SQL

SELECT AO_950DC3_TC_EVENTS.SUMMARY, AO_950DC3_TC_EVENTS.DESCRIPTION, dateadd(second,cast(cast(AO_950DC3_TC_EVENTS."START" AS nvarchar(255)) AS bigint)/1000,'19700101 00:00:00:000'), dateadd(second,cast(cast(AO_950DC3_TC_EVENTS."END" AS nvarchar(255)) AS bigint)/1000,'19700101 00:00:00:000'), AO_950DC3_TC_SUBCALS.NAME FROM AO_950DC3_TC_EVENTS JOIN AO_950DC3_TC_SUBCALS ON AO_950DC3_TC_EVENTS.SUB_CALENDAR_ID = AO_950DC3_TC_SUBCALS.ID WHERE dateadd(second,cast(cast(AO_950DC3_TC_EVENTS."START" AS nvarchar(255)) AS bigint)/1000,'19700101 00:00:00:000') = '2021-07-15';

機能リクエスト

Your feedback and voice are highly appreciated, please feel free to add a comment or engage in the conversation in the suggestion ticket below:

更新日時: September 25, 2025

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

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