Skip to end of banner
Go to start of banner

getLastComment

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Availability

  • This routine is available starting with SIL Engine™ 2.5.15 / 2.6.7.
  • This routine is available for Jira server and cloud deployment options.

Syntax

getLastComment(issueKey);

Parameters

Parameter name

Type

Required

Description

issueKey

string

Yes

Issue key.

Description

Gets all the comment properties for the last issue comment.

Return type

JComment

The comment is represented with the following keys:

Key name

Description

id

Id of the issue comment.

textComment text.
authorAuthor of the comment.
createdCreation date, as string, can be assigned to a date variable.
updatedByUpdater, or empty string if there is no updater.
updatedUpdated date, or empty string if there's no update.
securityLevelComment security level.

Example

JComment cmt = getLastComment("DEMO-1");
runnerLog("Got comment:" + cmt["text"]);

See also


  • No labels