Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bulk change of Jira URLs in Confluence?

Graham Harbour March 18, 2024

Hi,

We're embarking on merging two Confluence instances following a company acquisition, is there any easy way of bulk editing Jira URLs on pages?

Jira issue key will be the same in the URL, it's just the domain that's changing.

Thanks.

2 answers

1 accepted

0 votes
Answer accepted
Rebekka Heilmann _viadee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 18, 2024

Hi @Graham Harbour 

have you checked whether the Link Migration tool can help in this scenario? It's build for Server to Cloud migration but maybe it can be used for C2C as well?

Update product links after the migration | Atlassian Support

Graham Harbour March 18, 2024

We're still at the planning stage, but this seems to be the closest solution I've seen.  Thanks.

0 votes
Jonathan Muse March 20, 2024

Hi @Graham Harbour, I have not used the Link Migration tool which seems like it could be a good solution. However, if it does not work out for you I have used the Confluence Command Line Interface tool just recently to do something very similar where I had to do a find/replace on some text on about 2k pages. It took about 10-15 minutes.

The command looks worse then it is:

--action runFromPageList --id 123456789 --descendants --common "--action modifyPage --id @pageId@ --findReplace www.jira.a.com:www.jira.b.com"

I used the id of the home page for the space and the decedents flag grabs every page underneath of it. Then the find and replace was pretty straight forward after that. This one command updated all 2k pages for me.

Please let us know what you end up doing. I would be interested in hearing the result.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events