Is there a way transfer pages from "Confluence" to "Azure Devops Wiki"
Asked Answered
P

4

14

I have looked into the documentation for Azure DevOps Wiki, but I wasnt able to find a way where you can export pages from Confluence and migrate it or import it to Azure DevOps. Any suggestions would be appreciated.

Pervious answered 8/5, 2020 at 11:26 Comment(0)
B
7

Is there a way transfer pages from “Confluence” to “Azure Devops Wiki”

I am afraid that there is no such way could import the file exported from Confluence into Azure Devops Wiki.

According to this doc about exporting the Content in Confluence , the content could be exported as PDF, Word, Html, Xml format.

But these formats couldn't directly show content on Azure Devops Wiki Page.

This is an under review feature request.

If this feature is launched, it seems that your requirements could be met.

You could vote and add comments in it.

Hope this helps.

Bradfield answered 25/5, 2020 at 8:45 Comment(0)
M
3

Confluence provides a rich RESTful API with which you could recurse your Spaces and Pages, extract all needed details and then format/write them appropriate to Azure DevOps Wiki (.md files). This is non-trivial but I've done something similar using PowerShell and the Confluence RESTful APIs.

Marchelle answered 10/8, 2020 at 22:24 Comment(5)
I said "iterate your Spaces and Pages". "Recurse your Spaces and Pages" is more accurate.Marchelle
Building off @Kevin Liu-MSFT's answer, another alternative comes to mind. Because Azure DevOps Wiki is really a Git repository under the hood, you don't need an import. You just need mark-down files. Transform your exported Confluence files (PDF, Word, Html, Xml) to mark-down (.md), clone your Azure DevOps Wiki's repository and just add them. Something like Pandoc (pandoc.org) should handle the transformation.Marchelle
Hey @scottwelker, is this only way for work around? for now..as the feature is still getting developed yet.Methylal
I can not presently think of an alternative to the methods already mentioned here. Best of luck.Marchelle
Confluence space migration to Azure Wikis #8274 may provide some additional help/ideas.Marchelle
E
2

A workaround that I just used for a single Confluence wiki article (containing only text and formatting): You could use a tool that converts pasted text to markdown.

Example: clipboard2markdown (uses to-markdown). Live webapplication: https://euangoddard.github.io/clipboard2markdown/

This way, you can paste the text from the Confluence wiki editor and have the web application convert/generate markdown formatted text that you can paste in your Azure DevOps wiki article.

(Found this using Google).

Ecumenicity answered 7/10, 2022 at 13:20 Comment(0)
M
0

What worked for me:

  1. Open Your confluence page in edit mode and copy all of the content using keyboard shortcuts.
  2. Now go to your Azure DevOps wiki on the desired page choose Paste as HTML option from the toolbar & paste the content. enter image description here
  3. That's it most of your content is now pasted there as rich text wit almost same layout as we had on confluence.

Any image hosted on confluence might not render here you need to separately provide a new source of it in the respective img tags.

Mckeever answered 10/7, 2023 at 7:13 Comment(1)
This would make the page maintenance a nightmareShippee

© 2022 - 2024 — McMap. All rights reserved.