getCommentById

getCommentById

 

Description

Gets all the comment properties for a given id.

Syntax

getCommentById(issueKey, id)

Package

 

Alias

 

Pkg Usage

 

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

issueKey

String

No

The key of the issue.

commentId

Number

Yes

Id of the issue comment

Return Type

JComment

Example

number [] arr = getAllCommentIds(argv["key"]); for(number x in arr) { JComment cmt = getCommentById(x); runnerLog("Got comment:" + cmt["text"]); }

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.