Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I am looking for a code block macro for JIRA to support displaying line number, similar to https://confluence.atlassian.com/display/DOC/Code+Block+Macro for Confluence. Is something like this available?
For rich-text fields in JIRA you can use a code maco, see https://confluence.atlassian.com/display/JIRA/Editing+Rich-Text+Fields
The JIRA instance I manage has been upgraded over time from version 3.5 so, my systems defaults for system fields are not rich text. If you are in the same situation, see this manual page about configuring the renderers on the fields: https://confluence.atlassian.com/display/JIRA/Configuring+Renderers
There is also a plugin for this: https://marketplace.atlassian.com/plugins/jira.plugin.syntaxhighlighter.macro.syntaxplugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.