How to access "Incoming Links" from a Cloud add-on?

I am running an Atlassian Confluence Cloud instance, and I am trying to implement a macro to display a subset of back-references filtered by ancestor/label inside the body of a page.

There are examples online that show how to access the "Incoming Links" from a "User Macro", but that approach is not available to a Cloud instance.

I have been poring over the API Docs, but I cannot immediately spot a way to access the incoming links for a given page there either.

Is there any way to do this that does not involve retrieving all space content and then parsing out the links in the body content?

I find it exceedingly frustrating that the information is right there available in the "Page Information" dialog, but there seems to be no way to easily programmatically access it.

1 answer

0 votes
Ann Worley Atlassian Team Jan 08, 2018

I found some add-ons for Confluence Server that display incoming links, but nothing for Cloud. Like you, I also pored over the Cloud REST API docs.

It looks like this feature has been suggested before: Macro: incoming links 

Please vote or comment on the ticket to add weight to your use case and communicate directly with the bug fixing team. That will also add you to notifications for the ticket so you will know if there's any progress.

Thanks for the link to the suggested feature -- is there anything else to be done to nudge this forward?

I'm especially dismayed that the API has no way to access the metadata about links between content. I know Confluence stores this under the hood in the database somewhere, but without access to it writing clever macros operating on page relationships is almost impossible.

Suggest an answer

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

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
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