Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-75182

Links to Confluence pages broken or not appearing on new and old issue view

    XMLWordPrintable

Details

    Description

      Issue Summary:

      Broken links to Confluence pages are not visible in the new issue view. In the old issue view the error "wiki page failed to load" is displayed instead of the link.

      Steps to Reproduce

      1. Open an issue
      2. Link a confluence page in old or new issue view

      Expected Results:

      Ideally, the confluence links should have been visible as expected in the old issue view and new issue view

      Actual Results

      In the new issue view, sometimes the confluence links are not visible at all, some other times they show an error message like the one in below screenshot:

      In the old issue view, a "wiki page failed to load" ** error is displayed.

      Workaround

      Sometimes this issue is caused by some leftover Application Links pointing to an old Confluence site and it is enough to remove those application links by following the steps in: How to Remove Application Links via REST API

      However, in cases where this doesn't work, you may want to Contact Support in order to have this issue addressed.

      Further Investigations

      We hypothesise that in many cases, the root cause of this issue is that (post-migration/import) there is a case of a duplicated Application Links for the same instance, where one of them is ‘broken’. These duplicate non-system App Links can be created even through the Jira UI.

      In this case, we believe the System Application Link should be the one used to perform this integration with Confluence/Jira. We see problems arise when Jira Issues use the broken, duplicated App Link (in this example, the 'Confluence' App Link).

      On a Jira Issue, when we try to link a Confluence page using the broken App Link, we receive the following authentication failure:

      Additionally, when a broken App Link exists, the rendering of remote links in Issue View breaks:

      But after deleting the broken App Link, the Issue View rendering of remote links is fixed:

      Possible Long-Term Fix

      • We have thoroughly checked our code, and there are no bugs on our side. We validate that the appId passed to us maps to an existing App Link (if it doesn't, we replace it from the request URL), however we have no way of determining if the App Link itself is 'faulty' or not.

      After speaking with the App Links team (see this Slack thread), they informed us about 2 current projects due to be completed towards the end of March 2024:

      We believe that the completion of the above projects (particularly the second one) may lead to the root cause of this JAC being resolved. We are still waiting for confirmation from the App Links team to confirm this.

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          188 kB
        2. Screenshot 2020-11-16 at 19.54.16.png
          Screenshot 2020-11-16 at 19.54.16.png
          117 kB
        3. screenshot-3.png
          screenshot-3.png
          45 kB
        4. screenshot-6.png
          screenshot-6.png
          45 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              629e3a9fbec4 Pritha Prasad (Inactive)
              Votes:
              18 Vote for this issue
              Watchers:
              32 Start watching this issue

              Dates

                Created:
                Updated: