Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Table-Transformer Creating Anchors


I was wondering if it is possible to transform a table and add anchors to enable direct linking from other pages...





1 answer

1 accepted

Hi @David Anderson ,

The issue comes from the Cloud hosting - it's based on iFrames so the anchor macro wrapped into another macro can't be seen through the short link.

The solution will be not to use short link #anchor_name while creating links on other pages, but to use the full link format, for example,

In this case you'll be redirected to the specific anchor smoothly.


SELECT T1.'Page' as [Feature]
,FORMATWIKI(CONCAT("[" , T1.'use case id', "|", T1.'Space', "/pages/", T1.'Page ID', "#", replace(T1.'Page'," ",""),"-", T1.'use case id', "]")) AS [use case id]
,T1.'use case name'
,T1.'use case description'

where the variables used in the building of the link are sourced by including the page metadata field.

I have used `Heading 4` text style in the target table.


table excerpt.png

Note that you need to include the column with anchors in the output of the Table Transformer macro. If this column is hidden or just used for transformation or smth, the anchors won't work.

Suggest an answer

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

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

342 views 2 9
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