Adding a link in Jira to a Confluence Anchor

I'm currently trying to add a link in Jira that's pointing to an anchor in Confluence. It doesn't seem to work since it's simply going to the page without scrolling to the anchor.

I've added the anchor using the macro in Confluence and the syntaxe used for the url in Jira is the following https://xyz.com/display/MNM/Modules+Pages#InstagramFeed

Do you have any idea why it's not pointing to the anchor?

1 answer

1 accepted

1 vote
Ann Worley Atlassian Team Oct 13, 2017

I understand you are new to the forum. Welcome. :)

When you link to a Confluence anchor from another Confluence instance or from Jira you have to repeat the page name in the URL - it is not particularly intuitive, I am afraid.

Please see: 

Link to an anchor from another web page or another Confluence site:

Use a full URL in the following format:

Notes about the full URL:

  • The page name is repeated in the URL, after the # sign. The second occurrence of the page name is concatenated into a single word, with all spaces removed.
  • There is a single dash (hyphen) between the concatenated page name and the anchor name.
  • The anchor name in the full URL is concatenated into a single word, with all spaces removed.
  • The anchor name is case sensitive.
  • If the page name contains special characters, where the URL displays a page ID rather than a name, the link to an anchor will look more like this http://myconfluence.com/pages/viewpage.action?pageId=54689987#Test-page1!-anchor In this example the page title is Test - Page 1! and the anchor name is anchor.

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