New Jira issue view - Code Block not saving selected language.

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      When trying to use the Code Block function in the comments field, when choosing any language, it just saves as the default code block, not saving the selected language.

      Steps to Reproduce

      1) Go to an issue
      2) Click to add a new comment
      3) Choose the option "<>" to add a code block
      4) Insert the code
      5) Select a language
      6) Save the comment

       codeblock.mp4

      Expected Results

      The comment should show the code block according to the selected language.

      If you select SQL, it should save the code block as "code:sql" "code".

      Actual Results

      The comment is showing the code block as a regular code block, ignoring the selected language.

      If you select SQL, it will save the code block as "code" "code".

      Workaround

      Turn off the old issue view and add the code you want.

            Assignee:
            Unassigned
            Reporter:
            Adalberto Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: