Forums

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

Change several links at once

Lucas Reis
September 26, 2024

 

I've created a confluence-cloud page with lots of external links. There are basically 1500 links.

In confluence-server, it was possible to access the HTML of the page and change all these links more automatically.

I couldn't find the same functionality in confluence-cloud.

 

Can you help me?

1 answer

1 accepted

2 votes
Answer accepted
Kristian Klima
Community Champion
September 26, 2024

Hi @Lucas Reis and welcome to the community.

There is an app for that :) 

Link Management for Confluence

https://marketplace.atlassian.com/apps/1224660?tab=overview&hosting=cloud

Lucas Reis
September 26, 2024

@Kristian Klima thanks for the tip.


At the moment I can't get approval to use this app.

Is there any other way?

Like Kristian Klima likes this
Kristian Klima
Community Champion
September 26, 2024

@Lucas Reis - perhaps there's a way how to it programmatically but that's beyond my realm of knowledge.

I would still try to convince the powers that be to allow the app use during the transition period on the grounds that a) manually changing the links will cost money b) business impact on time and money (customers).

(if this is the post migration scenario, you can go back to server/DC - reimport, change the links there using HTML method, and do the migration (export/import again).

Non coding options

Disclaimer: These are ideas that technically work but, depending on how your content is integrated with out tools and resources, there might be consequences to how incoming links (to the said space) work. And it involves deleting the original space so you can work with the same Space key.

Method 1

As a Premium user, you have access to a Sandbox - which might be an environment to be considered for the app install.

I'm thinking along to lines of space exports, imports, to the link swap using the app in Sandbox, and export/import again.

Method 2

Another method would also involve space export/import but it's kind of a conceptual hack that might be frowned upon by your admins given the fact they have a problem with the app... Set up a Free Confluence site, get the app, export the space, import it to your free confluence, then export, import.

Lucas Reis
May 29, 2026

Hi @Kristian Klima , thanks again for the suggestion

I was able to solve this by using the REST API provided by Jira/Atlassian Cloud.

In my case, I retrieved the Confluence page content through the API, updated the links programmatically, and then sent the updated content back using the API. This allowed me to replace the links in bulk without needing direct HTML editing in Confluence Cloud or installing a Marketplace app.

So the final solution was to handle it programmatically through the Atlassian Cloud REST API.

The Jira Cloud platform REST API

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events