Automatically changing link texts possible?

Hi,

let's say I have two pages called "My Sample Requirement" and "Page B".

On "Page B" I'm creating a link to "My Sample Requirement" with the link text "My Sample Requirement". (so it's the same as the title)

Now I'm changing the page name of "My Sample Requirement" to "Some Other Name".

The link on "Page B" still works and points to "Some Other Name", however the link text still is "My Sample Requirement".

Is there a way to have a "dynamic" link text which automatically changes when the underlying page title changes?

In a perfect world, I would think this even further and would love to have a way to use a "page property" as the link text. So it would be great if you could choose between "Custom Link Text", "Page Title" and "Page Property: xyz" as the link text.

Some background on why this would be interesting:

We want to use Confluence as a requirements tool where every requirement is a page. The page title is a short identifier and the page also has a page property called "User Story" which explains the requirement in one sentence.

We are sometimes linking to those requirements based on the title and sometimes based on the "User Story" property. However, since those fields change quite often during specification time, it's hard to always manually change the incoming links as well.

thanks in advance for your help and best regards,

christian

1 answer

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Jan 29, 2014

It actually already does this. When you create the link just go to the link button and search for the page and let it populate the name. If you override the text of the link then it will use your override. However, if you let it populate the link text then it will change if you change the page name. I'm on version 5.1.3. I'm not sure what happens before 5.x, but at least in my version it already does what you are asking.

hmm... yes, you are right. after trying it again it worked as expected. I must have made some mistake the first time. :-(

but a way for binding the link text to a page property doesn't exist, does it?!?

Davin, thanks for your time!

best regards

Davin Studer Community Champion Jan 29, 2014

Nope ... no page property ability.

Is the same thing possible with links to anchors?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

460 views 6 6
Join discussion

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