Smart link preview fails for Confluence pages added in Databases when using “pretty links”

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Smart Link
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      When a Confluence page is added as a Smart Link inside a Confluence Database row, clicking the link is expected to open a page preview in the right-hand side panel.

      However, when the smart link is created using a “pretty link” URL, the preview is not generated. Instead, the UI shows the following error message:

      “We couldn't find what you're looking for.

      We looked everywhere, but it doesn't exist. It may have been deleted. Unless, of course, the URL has a typo in it 😉”

      In the browser console, the following error is observed:

      Space key is undefined

       

      Steps to Reproduce

      1. Open Confluence Databases.
      2. Create or open a database.
      3. Add a row and insert a smart link to a Confluence page using a pretty URL (e.g., https://site.atlassian.net/wiki/x/FgCdbz-Uk3Q)
      4. Click on the smart link.

      Expected Results

      Clicking the smart link should open a preview of the Confluence page in the right-side panel, regardless of whether the link is a pretty URL or the standard URL format.

      Actual Results

      The preview fails to load and the UI shows:
      “We couldn't find what you're looking for…”

      Console logs show the error:
      Space key is undefined.

      Workaround

      • Use the standard Confluence page URL containing the spaceKey instead of the pretty link.
      • Hover over the smart link and use "Open Preview" option to see the page preview

              Assignee:
              Unassigned
              Reporter:
              Jagriti
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: