Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

External links to Confluence (e.g. requirements)

Sebastian Ljungberg November 10, 2011

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

1 vote
Answer accepted
Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2011

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

Andrew Karandjeff August 19, 2012

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.

Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2012

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

Andrew Karandjeff August 19, 2012

Yahtzee! That did it. Thank you very much!

3 votes
Stefan March 8, 2018

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
TAGS
AUG Leaders

Atlassian Community Events