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
Label

Status
colourRed
titlestaff pick




Code Block
titleField code
linenumberstrue
%{issue.lastComment}

Read


Page properties
id1


Returned valueLast comment entered in Content of the last comment added to the issue.
Output data type

Status
subtletrue
titletext

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




Write


Page properties
id2


number

Valid text input

Unlimited text (info)

Valid numerical input

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
titleNumbers are cast to string.text
Example inputTake your Jira to the next level by using xApps!



UI Text Box
typetipinfo

Updates the last comment added to the issue if it exists.

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

Simply 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 using 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.the post function after the default "Adds a comment to the issue" post function.



Page properties
hiddentrue
id1


Field code server (context "issue")

%{issue.lastComment}

00109
Field code server (context "parent")

%{parent.lastComment}

00110

Field name cloudLast comment
Field code cloud (context = "issue" "parent" or "seed")%{context.lastComment}
Map(tick)
Notes




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