Skip to main content
Skip table of contents

First comment

This template displays the text of the first comment posted in the current work item.

If there is nothing to display, the result will be β€œNone”.

Configuration

To use the First comment template, simply select it from the template grid. Filter by Comment to find it faster.

Parameters

This template does not require any additional parameter configuration.

Expert mode

If you switch to Expert mode you can see the Smart field in the Expression Parser. You can now tweak the expression to create a custom smart field based on this template.

Expression

Jira expression:

CODE
issue?.comments[0]?.body?.plainText == null ? '' : issue?.comments[0]?.body?.plainText

The text will be returned using wiki markup, e.g. bold text will be shown as *bold text*.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.