Bitrix24 REST API

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

Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.

The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link.

Comments may be added only by registered users and appear after moderation.
© 2001-2017 Bitrix, Inc. Bitrix® is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager