Documentation

task.commentitem.add

Creates a new comment to a task. Returns the identifier to the comment added.

Method Parameters

ParameterDescription
TASKID Task identifier. Required parameter.
FIELDS Data field array for a task (POST_MESSAGE). Required parameter.

Example

// Adding a new comment with the test "HELLO" for the task with ID=13

BX24.callMethod(
    'task.commentitem.add',
    [13, {'POST_MESSAGE': 'HELLO'}],
    function(result){
      console.info(result.data());
      console.log(result);
    }
);


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2017, «Bitrix Inc.», 2017