No Confluence page found with the given URL while linking confluence web page

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 11.1.0, 11.0.2
    • Affects Version/s: 9.4.30, 9.12.25, 10.3.8
    • Component/s: Application Links
    • None
    • 9.04
    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      Jira fetches incorrect application link and displays "No Confluence page found with the given URL" when attempting link any confluence web page in scenerio where there are two application link having similar base url as shown below

      confluence#1 Base URL https://linux-106972.prod.atl-cd.net/confluence
      confluence#2 Base URL https://linux-106972.prod.atl-cd.net/confluence2

      Steps to Reproduce

      1. Create 2 confluence instance having same base url except the context path as shown above
      2. Create two application links in jira connecting to above confluence instances
      3. Attempt to link the page by searching the pages from confluence#2 application link.
      4. As a result, the pages are fetched/searched from correct confleunce#2 instance however when linked, Jira attempts to link it via confluence#1 application link.
      5. In some case, it may link but to actually links to confluence#1 if the page id also exists as shown below in screenshot2
      6. In some case, it may fail, with below error screenshot1 as it cannot find the page id on confluence#1.

      screenshot1

       

      screenshot2

       

      Expected Results

      Correct application link should be fetched and the correct page should be linked.

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      /secure/LinkConfluencePage.jspa [com.atlassian.jira.plugin.link.confluence.LinkConfluencePage] Invalid response from getting the page: 404:

      With DEBUG com.atlassian.applinks enabled. We could notice that the confluence application link is selected despite we selected confluence2

      2025-07-28 07:11:30,030+0000 http-nio-8080-exec-1 url: /jira/secure/LinkConfluencePage.jspa; user: admin DEBUG admin 431x642x1 523xuj 172.29.221.90,10.140.19.249 /secure/LinkConfluencePage.jspa [c.a.a.core.auth.AuthenticatorAccessor] Looking for interface com.atlassian.applinks.api.auth.ImpersonatingAuthenticationProvider for application link Confluence
      2025-07-28 07:11:30,030+0000 http-nio-8080-exec-1 url: /jira/secure/LinkConfluencePage.jspa; user: admin DEBUG admin 431x642x1 523xuj 172.29.221.90,10.140.19.249 /secure/LinkConfluencePage.jspa [c.a.a.core.property.ApplicationLinkProperties] Getting provider config; key: com.atlassian.applinks.api.auth.types.OAuthAuthenticationProvider 

      Workaround

      • Change the context path of secondary confluence instance from confluence2 to testconfluence and recreate the application link
        • You can use any context paths as long as one does not start with the other. For example, if one path is confluence, then a path like confluence2 will not work, but testconfluence will work.

            Assignee:
            Daniel Rauf
            Reporter:
            Sandip Shrivastava
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: