# How to Add Code Block in Jira

> To add a code block in Jira, select an issue, click the comment field, use Markdown with triple backticks if supported, select 'Markdown', paste the code, choose a language, and click 'Save'.

Canonical: https://livedemo.ai/tutorials/how-to-add-code-block-in-jira/
Apps: Jira
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2cf1a98365d086570458/preview?step=1

## Steps

1. Select the issue that you want to add a code block.
2. Go to the comment section and click the empty field.
3. If your Jira instance supports Markdown, you can add a code block by wrapping your code in triple backticks (```).
4. Select 'Markdown'.
5. Paste your code in the empty field, choose a language and click 'Save'.
6. That's it! By following these steps, it should allow you to effectively display code in your Jira issues, comments, or descriptions.
