Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-95908

Adding inline comment to a page while another user is editing breaks Jira Issues macro

XMLWordPrintable

      Issue Summary

      Pre-requisite: Synchrony is explicitly disabled in Confluence.

      If a user adds inline comments to a page that has Jira Issues macro at the same time another user is modifying information within the macro, this action will corrupt the macro. Once the page is saved, the macro will display as "Broken Macro."

      Steps to Reproduce

      1. Link your Confluence instance to a Jira instance.
      2. Disable Synchrony on Confluence.
      3. Create a new page, add the Jira Issues macro, and fetch some issues from Jira.
      4. Add some text to the same page.
      5. As user A, edit the page and the Jira Issues macro and make some changes to the filter used to fetch Jira issues.
      6. While user A is editing the page and the macro, access the same page as user B and, while still in view mode, add some inline comments to the page's text.
      7. As user A, save the changes made to the macro and publish the page again.

      Please see a video demonstrating the issue in the attachment section.

      Expected Results

      The newly published version will include the inline comments and the Jira Issues macro will be updated with the new filter definitions.

      Actual Results

      The newly published version includes the inline comments, but the Jira Issues macro is broken and is replaced with a Broken Macro error:

      In the underlying storage format of the affected page, we see that the macro's structure has been affected and the following definitions have been removed:

      <p><ac:structured-macro ac:name="jira" ac:schema-version="1" ac:macro-id="xxxxxxxxxxxxxxxxxxxxxx"> 

      Workaround

      No workaround is currently available.

        1. Screenshot 2024-05-30 at 15.51.28.png
          Screenshot 2024-05-30 at 15.51.28.png
          85 kB
        2. Jira.mp4
          2.11 MB

              Unassigned Unassigned
              cd74979134f3 Murilo Bellini
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: