Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-69770

Code Block in New Issue View always defaults to "Java"

XMLWordPrintable

      Summary

      The Code Block <> feature in the New Issue View always defaults to Java.

      Screenshot:

      Steps to Reproduce

      1. Create a new comment
      2. Use Insert Code Block <>
      3. Add some non-java code (i.e SQL: SELECT * FROM Table WHERE ID=1;
      4. Save comment

      Expected Results

      Code block should highlight SQL sintax

      Actual Results

      Code block defaults to Java

      Notes

      If the code block is set to a different format, it will also revert back to Java if the comment is edited again.

      Workaround

      Turn off the New Jira issue view by visiting https://<INSTANCENAME>.atlassian.net/secure/ViewProfile.jspa#labs-profile-fragment

        1. 2018-07-05_10-38-42.png
          106 kB
          Paulo F.
        2. 2018-10-02_16-27-48.png
          55 kB
          Paulo F.
        3. screenshot-1.png
          627 kB
          Daniel Woo
        4. screenshot-2.png
          634 kB
          Daniel Woo

              Unassigned Unassigned
              pferreira@atlassian.com Paulo F. (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: