Forums

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

Migrated Confluence to different instance, how to fix hardcoded links in Jira Description

Tomáš Vrabec
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 3, 2022

Hello community,

looking for solution for one my clients.

We successfully migrated two instance into one. Both Jiras and Confluence.

All of the testing went fine, so we ran prod migration. 

After some time on prod, customer employee found out, that links are broken.

We fixed the integrated links, but soon we discovered that they are talking about link in Jira task descriptions.

They are using both short and long links to reach the confluence. 

Old confluence is still available, so it is possible to resolve those links.

But after space migration from old to new, the base URL is different, it page ID is different and the is no "UUID" to resolve the link.

Anyone faced to similar issue and resolve it?

Thanks for any tip.

Cheers, Tom

1 answer

1 accepted

0 votes
Answer accepted
Marek Hoffreiter
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!
April 4, 2022

I explained the procedure to Tomas. 

Basically you need to get the old pageId, call an API to retrieve the space key and space title from the old instance using the old pageId.

Then you need to call an API using the retrieved space key and title on the new instance where you get the new page id.

Then, you need to replace the ids and base url.

I recommend using python.

Marek

Tomáš Vrabec
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 6, 2022

Thanks Máro, that worked. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events