Convert HTML to Atlassian markup while creating and updating issues

XMLWordPrintable

    • 3
    • 4

      Issue Summary

      While setting a field with API, if the text contains HTML, the code is added to the field and no conversion is done.

      Steps to Reproduce

      1. Try creating an issue using the description below:
        "description": {
              "type": "doc",
              "version": 1,
              "content": [
                {
                  "type": "paragraph",
                  "content": [
                    {
                      "text": "This is <b>a test</b> description.",
                      "type": "text"
                    }
                  ]
                }
              ]
            }

      Expected Results

      HTML is converted.
      On the example above 'a test' would be bold.

      Actual Results

      HTML is not converted and field has the description

      This is <b>a test</b> description.

      Workaround

      N/A

              Assignee:
              Unassigned
              Reporter:
              Paula Silveira
              Votes:
              13 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: