Documentation

task.commentitem.add

Creates a new comment to a task. Returns the ID of the added comment.

Method Parameters

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

Attention! Compliance to parameter sequence in the request is mandatory. If sequence is not observed, the request will be completed with errors.

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-2018, «Bitrix Inc.», 2018