External links to Confluence (e.g. requirements)

Hello,

I am using an external Test management system and I wonder if it is possible to get an external link to a anchor/heading in a specific page/space in Confluence that I can use in my test cases so the tester can look at the requirement if needed. (By clicking on the link, possible log in, and then get directed to the specific anchor/heading)?

2 answers

1 accepted

Headers (h1, h2, etc.) in Confluence usually should have an anchor already. You should be able to link to a specific header like this:

http://www.example.com/display/SPACEKEY/YourPageTitle#YourPageTitle-YourHeader

You can also insert custom anchors with the anchor macro:

{anchor:YourCustomAnchor}

And then link to them like this:

http://www.example.com/display/SPACEKEY/YourPageTitle#YourPageTitle-YourCustomAnchor

Hope this helps

I have tried both adding an anchor (named acronyms) via the macro and then creating an external link as well as using the Header 2 name for the section (Acronyms) and neither seem to work. I am just taken to the page itself and am positioned at the top, not at the Acronyms section.

Anchor link

https://atlassian.mysite.com/confluence/display/myApp/My+Title#My+Title-acronyms

Section link

https://atlassian.mysite.com/confluence/display/myApp/My+Title#My+Title-Acronyms

I've also tried:

https://atlassian.mysite.com/confluence/display/myApp/My+Title#acronyms

and

https://atlassian.mysite.com/confluence/display/myApp/My+Title#Acronyms

to no avail.

We're on version Confluence v4.1.4 and I've tried with IE9 and FF v10 and v14. Thanks.

Try to replace #My+Title-XXX with #MyTitle-XXX. Spaces in page titles are getting removed in the anchors, so you don't need to write the plus (+) signs.

Hope this helps

Yahtzee! That did it. Thank you very much!

Hey guys, what century does Atlassian's Confluence live in?

I have to:

copy and paste the (tiny) link,

then I have to add the "#",

copy and paste the standard link, 

strip the https-header in order to have MyPageTitle isolated,

delete all "+" that were inserted due to the spaces,

add the "-",

copy and paste the Heading,

delete all "+",

then test if it really works,

debug the mistakes from the above procedure

and then I have a link to a header on a confluence page!!!!!

 

Has Atlassian heard about a context menu macro yet?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
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