Skip to end of banner
Go to start of banner

addJSDComment

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 2 Current »

Description

Posts a comment on the specified issue. Returns a number representing the id of the comment.

Parameters

Return Type

Number

The returned number represents the id of the comment.

Examples

Example 1

Use the following code to add a public comment to the current issue.

addJSDComment(key, "I have executed a transition.");

The same can also be achieved with the following script:

addJSDComment(key, "I have executed a transition.", true);

Example 2

Use the following code to add an internal comment to the current issue.

addJSDComment(key, "you can't see me", false);

See also

  • No labels