Task Fields

The recording and modification of fields are carried out according to business logic and user permissions. This means it depends on the user's role, group permission settings, hierarchy, task status, and certain flags in the task, such as allowChangeDeadline.

Name
type

Description

id
string

Task identifier

parentId
string

Identifier of the parent task.

It is null if there is no parent task

title
string

Task title

description
string

Task description

chatId
integer

Identifier of the chat for the new task card

mark
string

Task rating. Possible values:
N — negative
P — positive
null — no rating

priority
string

Task priority. Possible values:

  • 2 — high
  • 1 — medium
  • 0 — low

multitask
string

Indicator of "base task with subtasks." Possible values:

  • Y — yes
  • N — no

notViewed
string

Indicator of "not viewed." Possible values:

  • Y — not viewed
  • N — viewed

replicate
string

Indicator of "repeat task." Possible values:

  • Y — yes, make the task recurring
  • N — do not repeat

stageId
string

Stage identifier

sprintId
string

Sprint identifier

backlogId
string

Backlog identifier

createdBy
string

Identifier of the Creator

createdDate
string

Creation date in ISO 8601 format

responsibleId
string

Identifier of the responsible person

changedBy
string

Identifier of the user who modified the task

changedDate
string

Modification date in ISO 8601 format

statusChangedBy
string

Identifier of the user who changed the task status

closedBy
string

Identifier of the user who completed the task. It is 0 if the task is not completed

closedDate
string

Completion date in ISO 8601 format. It is null if the task is not completed

activityDate
string

Date of the last activity in ISO 8601 format

dateStart
string

Start date

deadline
string

Deadline

startDatePlan
string

Planned start date

endDatePlan
string

Planned end date

guid
string

Task GUID identifier

xmlId
string

External identifier

commentsCount
string

Number of comments

serviceCommentsCount
string

Number of system comments

allowChangeDeadline
string

Allowed to change the deadline. Possible values:

  • Y — allowed
  • N — not allowed

allowTimeTracking
string

Allowed to track time. Possible values:

  • Y — allowed
  • N — not allowed

taskControl
string

Task control is enabled. Possible values:

  • Y — enabled
  • N — disabled

addInReport
string

Add to report. Possible values:

  • Y — add
  • N — do not add

forkedByTemplateId
string

Identifier of the template if the task was created from a template

timeEstimate
string

Time estimate in seconds

timeSpentInLogs
string

Actual time spent

matchWorkTime
string

Consider working time. Possible values:

  • Y — yes
  • N — no

forumTopicId
string

Identifier of the comment topic

forumId
string

Identifier of the forum

siteId
string

Identifier of the site

subordinate
string

Indicator that the task is a subtask. Possible values:

  • Y — yes
  • N — no

exchangeModified
string

Date of modification by synchronization in ISO 8601 format

exchangeId
string

Synchronization identifier

outlookVersion
string

Version

viewedDate
string

Date the task was viewed in ISO 8601 format

sorting
string

Sorting value

durationFact
string

Actual duration

isMuted
string

Indicator of "muted." Possible values:

  • Y — enabled
  • N — disabled

isPinned
string

Indicator of "pinned." Possible values:

  • Y — enabled
  • N — disabled

isPinnedInGroup
string

Indicator of "pinned in group." Possible values:

  • Y — pinned
  • N — not pinned

flowId
string

Flow identifier

descriptionInBbcode
string

Description in BBCode format. Possible values:

  • Y — enabled
  • N — disabled

status
string

Task status. Possible values:

  • 2 — waiting for execution
  • 3 — in progress
  • 4 — awaiting control
  • 5 — completed
  • 6 — postponed

statusChangedDate
string

Date of status change in ISO 8601 format

durationPlan
string

Planned duration

durationType
string

Unit of planned duration. Possible values: secs, mins, hours, days, weeks, monts, years

favorite
string

Indicator of "favorite." Possible values:

  • Y — added to favorites
  • N — not added to favorites

groupId
string

Identifier of the group to which the task is linked

auditors
array

List of user identifiers — task observers

accomplices
array

List of user identifiers — Participants

checklist
object

Object with checklist items. Key — item identifier, value — object with item description

group
object

Object with group description

creator
object

Object with user description — Creator of the task

responsible
object

Object with user description — responsible for the task

accomplicesData
array

Object with descriptions of users — Participants.

The key of the object is the user identifier, and the value is the object with user description

auditorsData
object

Object with descriptions of users — task observers.

The key of the object is the user identifier, and the value is the object with user description

newCommentsCount
integer

Number of new comments

action
object

Object with available actions for the task

checkListTree
object

Object with checklist tree description

checkListCanAdd
boolean

Can checklist items be added

ufCrmTask
array

List of links to CRM entities in the format:

  • L_XX — lead,
  • D_XX — deal
  • C_XX — contact
  • CO_XX — company
  • SI_XX — invoice
  • TXX_XX — SPA

ufTaskWebdavFiles
array

List of files from Drive

ufMailMessage
string

E-mail message

UF_*
any

Custom fields.

More details in the article Custom Fields in Tasks: Overview of Methods

To retrieve custom fields of the task, use the selection methods tasks.task.get and tasks.task.list. Specify the required fields in the SELECT parameter.

System fields UF_CRM_TASK, UF_TASK_WEBDAV_FILES, and UF_MAIL_MESSAGE are not returned by default. Specify one of these fields in SELECT — all three will be returned. In the response, the fields are returned in camelCase: ufCrmTask, ufTaskWebdavFiles, ufMailMessage.

Object checklist.item

Name
type

Description

id
string

Item identifier

taskId
string

Task identifier

createdBy
string

Identifier of the item author

parentId
string

Parent item. A value of 0 indicates a root item

title
string

Item title

sortIndex
string

Sorting index

isComplete
string

Completion indicator. Possible values:

  • Y — item completed
  • N — item not completed

isImportant
string

Importance indicator. Possible values:

  • Y — important
  • N — not important

toggledBy
string

Identifier of the user who changed the item's status

toggledDate
string

Date of status change in ISO 8601 format

ufChecklistFiles
boolean

Indicator of the presence of files in the item

members
array

List of item participants

attachments
array

List of item attachments

entityId
string

Task identifier

action
object

Object with available actions for the item

Object checklist.item.action

Name
type

Description

modify
boolean

Modification of the item is available

remove
boolean

Removal of the item is available

toggle
boolean

Toggling the item's status is available

add
boolean

Adding a sub-item is available

addAccomplice
boolean

Adding a Participant to the item is available

Object group

Name
type

Description

id
string

Group identifier

name
string

Group name

opened
boolean

Indicator of an open group

membersCount
integer

Number of group members

image
string

URL of the group image

additionalData
array

Additional data of the group

Object with user description

Name
type

Description

id
string

User identifier

name
string

User's first and last name

link
string

Link to the user's profile

icon
string

URL of the user's avatar

workPosition
string

User's position

Object action

Name
type

Description

accept
boolean

Accepting the task is available. Deprecated field, no longer used

decline
boolean

Declining the task is available. Deprecated field, no longer used

complete
boolean

Completing the task is available

approve
boolean

Approving the contractor's work on the task is available when taskControl is enabled

disapprove
boolean

Indicating what the contractor needs to finish on the task is available when taskControl is enabled

start
boolean

Starting execution is available

pause
boolean

Pausing execution is available

delegate
boolean

Delegation is available

remove
boolean

Task removal is available

edit
boolean

Editing is available

defer
boolean

Deferring the task is available

renew
boolean

Resuming is available

create
boolean

Creating related tasks is available

changeDeadline
boolean

Changing the deadline is available

checklistAddItems
boolean

Adding checklist items is available

addFavorite
boolean

Adding to favorites is available

deleteFavorite
boolean

Removing from favorites is available

rate
boolean

Rating is available

take
boolean

Taking the task for work is available

edit.originator
boolean

Editing the Creator is available

checklist.reorder
boolean

Changing the order of checklist items is available

elapsedtime.add
boolean

Adding time spent is available

dayplan.timer.toggle
boolean

Controlling the timer in the daily plan is available

edit.plan
boolean

Editing planned parameters is available

checklist.add
boolean

Adding a checklist is available

favorite.add
boolean

Adding to favorites is available

favorite.delete
boolean

Removing from favorites is available

Object checkListTree

Name
type

Description

nodeId
integer

Identifier of the root node of the checklist tree

fields
object

Object with description of node fields

action
array

Array of available actions for the node

descendants
array

Array of child nodes

Object checkListTree.fields

Name
type

Description

id
string

Identifier of the item for the root

copiedId
string

Identifier of the source when copying

entityId
string

Task identifier

userId
integer

Identifier of the user forming the tree

createdBy
string

Identifier of the item author

parentId
string

Identifier of the parent

title
string

Title of the item

sortIndex
string

Sorting index

displaySortIndex
string

Displayed sorting index

isComplete
boolean

Indicator of item completion

isImportant
boolean

Indicator of item importance

completedCount
integer

Number of completed sub-items

members
array

Array of item participants

attachments
array

Array of item attachments

nodeId
string

Node identifier