How to Add Code Block in Jira
- George Apostolov
How to Add Code Block in Jira: step-by-step guide
Select the issue that you want to add a code block.
Go to the comment section and click the empty field.
If your Jira instance supports Markdown, you can add a code block by wrapping your code in triple backticks (```).
Select 'Markdown'.
Paste your code in the empty field, choose a language and click 'Save'.
That's it! By following these steps, it should allow you to effectively display code in your Jira issues, comments, or descriptions.
Quick answer: 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'.
About this Jira tutorial
Insert code snippets into Jira issues and comments by using Markdown formatting and saving your code block with a selected programming language. This guide shows how to add Code Block in Jira in 6 steps, starting with "Select the issue that you want to add a code block" and finishing with "That's it! By following these steps, it should allow you to effectively display code in...". The interactive demo above is a click-through copy of the real Jira interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to add Code Block in Jira?
6 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Jira data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Jira. Related guides: How to add a comment in jira, How to Add Confluence Page to Jira Ticket and How to Add Default Watchers in Jira. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





