Documentation

item

Enables the work with the PHP class CTaskItem. ctaskitem may also be used instead of item.
Method Description
task.item.getmanifest Shows list of methods.
task.item.add Creates new task.
task.item.getdata Returns task data array.
task.item.update Updates task information.
task.item.delete Deletes task.
task.item.getdescription Returns task description.
task.item.getfiles Returns an array of links to files attached to the task.
task.item.getdependson Returns an array of parent task IDs.
task.item.getallowedactions Returns an array of IDs of allowed task actions.
task.item.getallowedtaskactionsasstrings Returns an array whose keys are action names and values show whether action is allowed.
task.item.isactionallowed Asserts whether action is allowed.
task.item.delegate Delegates task to new user.
task.item.startexecution Changes task status to "In Progress".
task.item.defer Changes task status to "Deferred".
task.item.complete Changes task status to "Completed" or "Supposedly completed (requires creator's attention)".
task.item.renew Changes task status to "Pending".
task.item.approve Changes status of task, waiting for confirmation to "Completed".
task.item.disapprove Changes status of task, waiting for confirmation to "Pending".
task.item.list Returns an array of tasks, each of which contains a fields array (similar to the array, returned by task.item.getdata).
task.item.addfile Changes status of task, waiting for confirmation to "Pending".
task.item.deletefile Loads file for a task.
task.item.addtofavorite Adds task to Favourites.
task.item.deletefromfavorite Deletes task from Favorites.


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