Formatted comments in Jira?

stuartu October 19, 2011

When entering a comment to an issue in Jira (we are running 4.4.1), is it possible to format the input?

For example, if I paste some SQL output, the formatting is all wonky and hard to read.

The doc page page https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all indicates we can add {quote} around the text, but when I do this, it just displays the text {quote} in the comment and formatting is lost. Am I missing something? We don't get any of the editing functionality that Confluence has.

3 answers

1 accepted

13 votes
Answer accepted
mlassau_atlassian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2011

JIRA ships with 2 Text renders you can configure for fields and comments:

  1. Default Text Renderer
  2. Wiki Style Renderer

You can configure which to use for each field in the "Field Configuration".

To use the {quote} tag or other wiki markup you will need to change the field configuration for Comments to use "Wiki Style Renderer".

stuartu October 20, 2011

Brilliant! Thank you. I was not aware I could do this in Jira.

Like Pravin Dapadu Patil likes this
2 votes
Juergen Schwarz November 21, 2013

This should be linked to from the JIRA Documentation
https://confluence.atlassian.com/display/JIRA/Commenting+on+an+Issue.

Instead I made a comment there.

mlassau_atlassian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2013

Thanks.

I raised a documentation bug: JRA-35939

1 vote
m October 2, 2014

To format source code and SQL I use the plug-in Wikify - Autoformat. I hardly know any formatting syntax, and with the plug-in I can format code and especially SQL automatically without knowing any additional syntax. For me it's very comfortable.

Link of the plug-in: https://marketplace.atlassian.com/plugins/ch.mibex.jira.wikify

Suggest an answer

Log in or Sign up to answer