Deprecated Task Methods

Scope: task

Who can execute the method: any user

Warning

This section contains information about deprecated methods. Their use in operations is strongly discouraged.

Method

Description

Tasks (item)

task.item.add

Creates a new task

task.item.delete

Deletes a task

task.item.getdata

Returns an array of task data

task.item.getmanifest

Returns a list of task.item.* methods with their descriptions

task.item.list

Returns a list of tasks

task.item.update

Updates task data

task.item.getdescription

Returns the task description

task.item.getfiles

Returns an array of links to files attached to the task

task.item.getdependson

Returns an array of task IDs that the task depends on

task.item.getallowedactions

Returns an array of IDs of allowed actions on the task

task.item.getallowedtaskactionsasstrings

Returns a list of allowed actions on the task

task.item.isactionallowed

Checks if the action is allowed

task.item.delegate

Delegates the task to a new user

task.item.startexecution

Changes the task status to "in progress"

task.item.defer

Changes the task status to "deferred"

task.item.complete

Changes the task status to "completed" or "conditionally completed (awaiting executor control)"

task.item.renew

Changes the task status to "not executed"

task.item.approve

Changes a task awaiting control to "completed"

task.item.disapprove

Changes a task awaiting control to "not executed"

task.item.addtofavourite

Adds the task to Favorites

task.item.deletefromfavorite

Removes the task from Favorites

task.item.addfile

Uploads a file to the task

task.item.deletefile

Removes the file attachment from the task

task.logitem.list

Returns the history of task changes

items

task.items.getlist

Returns an array of tasks, each containing an array of fields

comment

task.comment.add

Adds a comment to the task