Comment ADF conversion adds the wrong media ID in the ADF body causing images/attachments to not render in the new issue view

XMLWordPrintable

    • 11
    • Severity 3 - Minor
    • 0

      Issue Summary

      Images and attachments are failing to load in the new issue view.
      An investigation has shown this is due to the wrong media attachment ID being added to the ADF body during the conversion from wiki markup to ADF.

      Steps to Reproduce

      Unable to reliably reproduce
      This can be verified using a GraphQL query to check the comment body by navigating to:

      • https://<sitename>.atlassian.net/rest/graphql/latest/

      And the running the below GraphQL query:

      {
        issueComments(issueIdOrKey:"LC-2517")
        {
          nodes{
            bodyAdf
          }
          nodes{
            renderedBody
          }
        }
      }
      

      Expected Results

      The media attachment ID's in both the renderdBody and bodyADF should be the same.

      Actual Results

      The bodyADF contains attachment ID's that are not related to the issue.

      Workaround

      Please contact Atlassian support who can help run a workaround to fix this issue.

              Assignee:
              Unassigned
              Reporter:
              Battlebeard (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: