The new space will show up in your Space Admin Browser afterward. To use the space export functionality, you need the 'Export Space' permission. Click Copy Space to create a copy of the selected space in your Confluence instance. The way with script is more universal: the source and destination could be at different confluence servers, so different user credentials could be used. You can export all or part of a Confluence space to various formats, including Microsoft Word, HTML, PDF and XML. Finally add to the destination page the content from source page with replacing there old attachments IDs by new ones.attachments) to destination page and get their new IDs Content Tools > Click Export > Select XML > Next >Export. iterate via attachments of source page and download them too (you can filter only attachments really used within page content if needed) Hi Mangulabnan Bianca Yes, it is possible to transfer a Confluence Space from instance to another.In general you need at least the content of "body.storage" select required parts from there (i.e."YOURCURLPATH\curl.exe" -o "OUTPUT_PATH\output.tmp" -D-u USER:PASSWORD -X GET -H "Content-Type: application/json charset=utf-8 accept-charset=utf-8" -url " Here I can propose only one solution: use some scripting language (i.e. not Cloud variant) such API as shown in examples above is not available (that's why error 404 - page not found - being returned). The source page being defined as ID within REST API path while destination page being defined via "destinationPageId" parameter given as part of data by the POST method. Space admins can now choose to turn on automatic conversion from the legacy editor within a space. This way is easy (if available, see below) but has limitation that source and destination locations should be on same confluence server. At Confluence Cloud there are API functions to copy page or entire page-hierarchy (as shown in several comments above).Examples: Search for Copy Space apps on Marketplace Command-line tools such as the Bob Swift CLI tool can also be useful for bulk actions like copying a space. Each project team has a dedicated space to record information and collaborate on deliverables. The best option is to use one of the third-party apps that can help you copy a space. pageid confluence. I works to copy the whole page with this code: I want to easily copy a page from one space to another space. I am trying to copy a page to one space to another INCLUDING the attachments. You might find this scenario familiar: Our organization has a central space to broadcast important news and document knowledge. How to move a page in Confluence with Python API. It seems that the confusion comes due to different versions of confluence: As the number of pages and content within Confluence grows, maintaining a well-organized structure can become difficult.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |