Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automatic two-way links in Confluence?

I would like to document my IT setup in Confluence Cloud.

For example, here's the pages I had in mind:

  • Homepage: lists all servers and a link to their page. So in the list, clicking "Server1" takes you to the page Server1.
  • Server1: has its own page describing it. Also contains a list of services running on that server, and a link to them. For example links to Service1 which runs on Server1.
  • ServerN: same as above
  • Service1: has its own page, links back to Server1
  • ServiceN: has its own page, links back to ServerN
  • Backup page: table listing some services and their backup instructions, including a link to them

So I have all these interconnected pages, and would like to know if I can avoid creating all these links manually. Is that possible in Confluence? So for example, both the Server1 page and the Backup page link to Service1, is it possible for the Service1 page to automatically include to these pages that link to it? Some other wikis have a "pages that link here" macro.

1 answer

0 votes
Gaurav Community Leader Dec 16, 2021

Hello @Fabregas4 

The use cases mentioned in the scenario are possible using different macros in Confluence.

For example, on the Home Page, you can have the macro to chow the child pages where all the pages for servers (and others) would be reflected.

Similarly, you can look at the native macro library and select the one best suited for your needs while creating the pages. All of this is really intuitive in Confluence.

Let me know if you need any help with a particular use case.

Kindly accept the answer if this helps.

Thanks @Gaurav . I think I need to explain more about what I'm trying to do.

This will be my page hierarchy:

  • Servers
    • Server1: has a table containing link to ServiceA and ServiceB
    • ...more servers
  • Backups: has a section containing a link to ServiceA
  • Services:
    • ServiceA
    • ServiceB
    • ServiceX: depends on ServiceA, so contains a link to ServiceA

In this case, I would like the ServiceA page to automatically link to Server1, Backups, and ServiceX, because they all reference it. And if I create SomeRandomPage and link to ServiceA, I would also like to see it in ServiceA's page.

In some other wikis, links in one direction can be used to automatically generate a link in the opposite direction.

The parent/child hierarchy doesn't help here. I would see by looking at the tree on the left that ServiceA is a child of Server1, but it wouldn't tell me that ServiceA is referenced in the Backups and ServiceX pages, unless I add those links manually.

Gaurav Community Leader Dec 16, 2021

Hello @Fabregas4 

Thanks for explaining the use case. Based on this, I would suggest using the combination of macros called 'Page Properties' and 'Page Properties Report'. These 2 together should help you implement this.

The details and steps for implementation are mentioned in the documentation.

Please let me know and accept the answer if this helps.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,753 views 33 137
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you