Jira Legacy Macro is reintroduced on edit if page had an unpublished draft prior to JWI auto-conversion

XMLWordPrintable

    • 18
    • Severity 3 - Minor
    • 83

      Issue Summary

      Running the automated migration to Jira Work Item (JWI / Smart Link List View - SLLV) creates a new published version containing the converted JWI macro.

      However, because the auto-conversion keeps the previous last modifier date / version metadata and does not reconcile or invalidate existing drafts, when a user opens the page in the editor:

      • If the page contains a draft newer than the last modifier date, the editor attempts to merge the new published version with the existing unpublished draft.
      • The draft state (which contains the Jira Legacy Macro) takes precedence or merges in the legacy macro block.
      • Upon publishing the draft, the Jira Legacy Macro is written back to the live page, reverting the auto-conversion.

      Steps to Reproduce

      • Create and publish a Confluence page containing one or more Jira Legacy Macros.
      • Edit the page to generate an unpublished draft (e.g., make a minor change or simply open the editor and close without publishing).
      • Trigger/execute the automated Jira Legacy Macro → Jira Work Item (JWI/SLLV) conversion on the page.
        • Result: A new published version is created with the converted JWI macro.
      • As a user, click Edit on the page.
      • Observe the editor canvas content and/or publish the page.

      Expected Results

      • The draft reconciliation should recognize that the published page has been upgraded to JWI / Smart Link List View, updating the macro in the draft accordingly, or prompt the user regarding version conflicts.
      • Publishing the draft should not resurrect or revert back to the Jira Legacy Macro.

      Actual Results

      • The editor pulls the Jira Legacy Macro from the existing draft and merges it into the session.
      • Publishing the draft saves the Jira Legacy Macro back to the latest published version, nullifying the auto-conversion.

      Workaround

      • When editing the page, reach the Options menu > "Revert to Previous version""
      • Expand the “Show” to check all the changes added by the unpublished draft
      • If nothing significant other than the Jira legacy was added/removed, hit the < revert > button to discard the draft.

              Assignee:
              Unassigned
              Reporter:
              Murakami [Atlassian Support]
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: