REST API table formatting broken when it includes color formatting in a numbered or bullet list

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When creating or editing a paragraph field REST API v2 (creating/updating issues or comments using wiki markup), it fails to recognize the line break ("\n" or "\ \" - double back slashes) defining the end of the list and treating the table formatting as literal characters.

      Steps to Reproduce

      Sample body
      {
          "fields": {
              "description": "# Numbered list\n# With {color:#02CC00}color{color} formatting\n\n||Heading 1||Heading 2||\n|col 1|col 2|"
          }
      }
      
      1. Create/edit a paragraph field using the sample body above using REST API v2
      2. Reload the page

      Expected Results

      A numbered list with color formatting and a table are defined in the description:

      Actual Results

      The table formatting is ignored and the line break from the list is skipped:

      Workaround

      Either remove the list (# or *) or color formatting.

        1. image-2023-08-21-19-09-41-098.png
          20 kB
          Andre Dias
        2. image-2023-08-21-19-10-17-615.png
          18 kB
          Andre Dias

            Assignee:
            Unassigned
            Reporter:
            Andre Dias (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: