Documentation

task.elapseditem.getlist

Returns a list of entries about elapsed time for a task.

Method Parameters

ParameterDescription
TASKID Task identifier. Required parameter.
ORDER Array for result sorting. Sorting field may take the following values:
  • ID identifier of the entry about elapsed time;
  • USER_ID identifier of the user on whose behalf the entry about the elapsed time was made;
  • MINUTES elapsed time, minutes;
  • SECONDS elapsed time, seconds ;
  • CREATED_DATE entry creation date;
  • DATE_START start date;
  • DATE_STOP end date.
Sorting direction can take the following values:
  • asc ascending;
  • desc descending;
Optional. By default it is filtered by descending of the entry elapsed time identifier.
FILTER Array of the time {"filtered_field": "filter value" [, ...]}. Filtered field can take the following values:
  • ID comment identifier;
  • USER_ID identifier of the user on whose behalf the entry about the elapsed time was made;
  • CREATED_DATE entry creation date.
Filtration type may be indicated before the name of the field to be filtered:
  • "!" not equal;
  • "<" less;
  • "<=" less or equal;
  • ">" more;
  • ">=" more or equal.
filter values - a single value or an array.

Optional. By default entries are not filtered.

Example

// Obtaining all entries about elapsed time with sorting by descending ID.
// Only entries with fewer than 50 IDs will be filtered.


BX24.callMethod(
   'task.elapseditem.getlist',
   [1, {'ID': 'desc'}, {'<ID': 50}],
   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