Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue
id0


Field code

No field code

Type

Status
subtletrue
colourYellow
titlewrite-only

Available since

Status
subtletrue
colourBlue
title2.2

Label

Status
colourRed
titlestaff-pick




Code Block
titleField code
linenumberstrue
No field code

Write


Page properties
id2


Valid text input

Unlimited text (info)

Valid numerical input

Numbers are cast to text
Example input

This is a new comment.



UI Text Box
typeinfo

Adds a new comment to the issue. It does not trigger any event for email notifications. If you need email notifications, use New comment (sends email notifications) instead.

You can optionally add the parameter visibility to set comment visibility.

Simply add : {visibility=visibility_value} at the end of the text. This parameter permits the same values as Last comment's visibility restriction.


Examples:

This is a comment only visible to members of the Administrators project role:


Code Block
languagebash
linenumberstrue
: {visibility=Administrators}

This is a comment only visible to Jira Service Management agents and collaborators: 

Code Block
languagebash
linenumberstrue
: {visibility=jsd_internal}

This is a comment also visible to Jira Service Management customers

Code Block
languagebash
linenumberstrue
: {visibility=jsd_public}


UI Text Box
typenote

Please, note that the colon ":" at the beginning of each of the expressions is necessaryrequired.



UI Text Box
typetip

The main use case for this virtual field is to add a comment through the Update or copy field values post function or the Update field action. In this case, you will have to pick this field from the available dropdown menu.

If you just want to add a simple comment, try using one of the following features:



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged