Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | addJSDComment(issue, comment [,isPublic]) | Package | | Alias | | Pkg Usage | | |
Excerpt |
---|
|
Posts a comment on the specified issue. |
Posts a comment on the specified issue. Returns a number representing the id of the comment.
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
issue key | String | Yes | Key of the selected issue | comment | String | Yes | Comment that will be posted on the selected issue | isPublic | Boolean | No | true for public comment or false for internal comment, the default is true; | |
Number
The returned number represents the id of the comment.
Use the following code to add a public comment to the current issue.
Code Block |
---|
|
addJSDComment(key, "I have executed a transition."); |
The same can also be achieved with the following script:
Code Block |
---|
|
addJSDComment(key, "I have executed a transition.", true); |
Use the following code to add an internal comment to the current issue.
Code Block |
---|
|
addJSDComment(key, "you can't see me", false); |
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jsd_function" and space = currentSpace ( ) |
---|
labels | array_functions |
---|
|