How to list all subscribed Public calendars using a SQL query
プラットフォームについて: 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 は除く
要約
This document shows how to list the Public calendars that users are subscribed to (i.e. a Google Calendar).
ソリューション
This SQL query retrieves information about calendar subscriptions in a Confluence instance that uses Team Calendars:
SELECT um.lower_username as creator, tc."NAME" as calendar_name, to_timestamp(CAST(tc."CREATED" AS bigint)/1000) as creation_date, s.spacename, s.spacekey
FROM "AO_950DC3_TC_SUBCALS" tc
JOIN user_mapping um ON um.user_key = tc."CREATOR"
JOIN SPACES s ON tc."SPACE_KEY"=s.spacekey
WHERE tc."STORE_KEY"='com.atlassian.confluence.extra.calendar3.calendarstore.SubscriptionCalendarDataStore';
The retrieved information includes the creator of the calendar, the calendar name, the calendar's creation date, the space name, and the space key associated with the calendar.
この内容はお役に立ちましたか?