Twiki to Confluence - cross reference links

While migrating from Twiki to Confluence, Is there any way to convert links pointing to another space?

For example, in Twiki there are two webs, WEB1 and WEB2. In WEB1, there is a link pointing to a page in WEB2 as follows:

[[WEB2.Link1][Some Link]]

This should be converted to

[Some Link|W2:Link1]

where W2 is the space key for WEB2 space in confluence. But right now, the links points to Create page action in WEB2 space!

The mapping of WEB1 to W1 and WEB2 to W2 is present in the property file but only spaceKey W1 can be entered in the converter while converting.

Is there anyway to achieve the above?

3 answers

1 accepted

1 vote
Answer accepted

Couldn't find any existing properties, so added a new cleaner class to handle cross references. Works fine now!

Just for future ref for other users, I would have thought the web to spacekey map properties would have handled that. The intent is for that map to handle links and image references across spaces.


I was thinking the same. had that mapping but it didn't work. No sure if it was because some other configuration was missing or not!

Hi - I know this is a bit of an old Topic - but I having the same issue. In my world I'm trying to import 2 webs from Twiki that both have links to each other.

I tries using web to spacekey map properities with no luck.

Jobin you said you "added a new cleaner class to handle cross references." - I don't suppoose you could give more information on how you did that could you?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,402 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you