Forums

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

Tiny link replacement

Patrick McKinney
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 18, 2024 edited

Recently during an upgrade I had to create a new space from an existing one. This was done with Comala publishing so that we can have both a Published space and a second space for working on drafts of changes behind the scenes while our team works with information in a published space.  As of now I have 3 spaces, old, draft, and Current.

The old space that previously existed had multiple tiny link URLs, that when copied remained the exact same and did not update to the draft or current space in the Wiki mark up.  This means that when a team member clicks on a link within current, it goes to the Old Space only and not the Current.

Because these are tiny links, they don't have any context in the name as to where we can point them in the future and are wondering if it is possible to do any of the following:

1) Generate a list of all tiny link URLs in a space and include the names

2) Have a script to force the Tiny Links to change in the Current space to the new pages, since the content is the same between them, only difference is the space location.

 

Thanks for any ideas

 

1 answer

1 accepted

1 vote
Answer accepted
Benjamin
Community Champion
January 18, 2024

HI @Patrick McKinney ,

 

The 1st is probably a possible option. You can query the DB for the Tiny URLs base on the URL pattern across the instance. You'll need write a custom macro to populate that information to a page. I have not come across a Macro in marketplace that provides this.

 

However, the 2nd option is unlikely since the tiny URL are auto generated for each page. This might lead to modification to the DB which is a risky option.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events