Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Whats the best way to script html to Confluence?

Aris
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2025

I'm looking to migrate pages/documents from a different service to Confluence Cloud. I am interested in automating this process using a script.

I planned on using the Confluence REST API to create the page. I stumped on how i can convert html to Confluence XHTML-based.

I could grind it out and do it manually, but it is my understanding that this functionality exists for bulk upload through the UI, so the logic must exist somewhere? Or perhaps there is a trusted library I can use? If anyone has any other ideas or approaches, please let me know!

1 answer

0 votes
Kristian Klima
Community Champion
January 8, 2025

Hey @Jude and welcome to the Community.

This is fresh from the Atlassian's oven :)

Say Hello to HTML Importer: Bulk Import Your HTML Content into Confluence!

https://community.atlassian.com/t5/Confluence-articles/Say-Hello-to-HTML-Importer-Bulk-Import-Your-HTML-Content-into/ba-p/2896851

 

(Prior to the HTML import feature, after migrating hundreds of pages from various HTML renditions of various CMS docs tool, I found out that the fastest way to do that is manual copy paste, then sanity check. Yes, conversion is possible but chances are you'd spend more time scripting AND doing the cleanup and check, than doing it manually).

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events