Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
titletodo

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


Page properties
hiddentrue
id0


Field code%{issue.lastComment}
Type

Status
subtletrue
colourGreen
titleRead / Write

Available since



Code Block
titleField code
linenumberstrue
%{issue.lastComment}



Read


Page properties
id1


Returned valueLast comment entered in the issue.
Output data type

Status
subtletrue
titletext

Example outputTake your Jira to the next level by using xApps!




Write


Page properties
id2


Additional information for writing valuesUpdates the last comment added to the issue if it exists.

Allowed input 

Status
subtletrue
titletext

Unlimited text string.

Allowed input 

Status
subtletrue
titlenumber

Numbers are cast to string.
Example input



UI Text Box
typetip

Optionally parameter visibility can be added for setting comment visibility. To do it add : {visibility=visibility_value} at the end of the text. This parameter permits same values as "Last comment's visibility restriction".


UI Text Box
typewarning

When writing into this field, please add your writer action after "Add Comment" action otherwise, the updated comment will be the one before last, instead of the last one.