Quick summary
Adding a code block in Jira lets teams share formatted code snippets directly inside issues, comments, or descriptions. Using Markdown syntax with triple backticks, developers can display syntax-highlighted code without leaving the Jira interface.
Steps
- Select the Jira issue where you want to add a code block.
- Navigate to the comment section and click the empty text field to activate it.
- Use triple backticks (```) to wrap your code if your Jira instance supports Markdown.
- Select Markdown as the text formatting mode from the options.
- Paste your code into the empty field, choose a programming language, and click Save.
- Your code block is now displayed inside the Jira issue, comment, or description.
.gif)



