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)?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.