Jira Legacy Macro conversion to JWI produces "unsupported macro" when macro is inside a list item (<li>)

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When the Jira Legacy macro is automatically converted to Jira Work Items (JWI) macro as part of the Jira Legacy deprecation plan, macros that were embedded inside list items (`<li>`) are converted but then display as "unsupported macro" in the editor post-conversion.

      Steps to Reproduce

      1. Have a Confluence page with a Jira Legacy macro embedded inside a list item (`<li>`)
      2. The automatic SLLV/PTL conversion job runs and converts the macro
      3. Open the page,  the converted macro shows as "unsupported macro

      Expected Results

      When the Jira Legacy macro is inside a `<li>` element, the conversion job should detect this context and convert it to an inline view (`data-card-appearance="inline"`) instead of a block/list view

      Actual Results

       "This macro can't be edited (Unsupported macro)" error is displayed 

      Workaround

      Manually updating the page storage format from `data-card-appearance="block"` to `data-card-appearance="inline"` resolves the issue.

              Assignee:
              Unassigned
              Reporter:
              Nitika Arora
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: