We are merging two Confluence instances and need to migrate the calendars. I used this article to get a list of all the calendars but I also need the associated space. We are not moving all the spaces so we need to narrow down the list to spaces we are moving.
select um.lower_username as creator, sp.spacename as spacename, tc."NAME" as calendar_name, to_timestamp(CAST(tc."CREATED" AS bigint)/1000) as creation_date
FROM "AO_950DC3_TC_SUBCALS" tc
JOIN spaces sp ON sp.spacekey = tc."SPACE_KEY"
JOIN user_mapping um ON um.user_key = tc."CREATOR"
WHERE tc."PARENT_ID" IS NULL
ORDER BY creator;
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.