Is there a better way to share code snippets in Jira than just copying and pasting code?
There are three ways to add code blocks to Jira, in your issue description or comments:
`this`. That works best for short individual lines of code.
Mto turn that bit of text into a code snippet, similar to what you'd get by adding backticks.
<>button in the formatting toolbar to add a code block. There, you can type in as much code as you want, and select the language for syntax highlighting.