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;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.