Documentation

task.elapseditem.update

task.elapseditem.update(taskId, itemId, arFields)
Change parameters of the specified time spent record.

Parameters

ParameterDescription
taskIdTask ID.
itemIdTime spent record ID.
arFieldsArray of time records and comments (SECONDS and COMMENT_TEXT). MINUTES may be used instead of SECONDS, but they may not be used at the same time.

Example

BX24.callMethod(
   'task.elapseditem.update',
   [1, 204, {SECONDS: 666, COMMENT_TEXT: 'comment text'}],
   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