Task

Task / Tasks

The entity represents a task (issue). A task is always linked to a project, may have a parent (be part of a subtask hierarchy), watchers, custom fields, and an attached description in RTE (HTML) format.


The service is split into two endpoints: Task — operations on a single task and single-record reads; Tasks — collection queries and related reference objects.


Task keys

A task can be identified by one of three keys:


KeyTypeDescription
TaskIDNVARCHAR(10)Internal surrogate identifier
TaskKeyNVARCHAR(128)Business key of the form <ProjectCode>-<TaskNumber> (e.g., PROJ-42)
IntegrationIDNVARCHAR(128)External identifier from an integrated system


Base URL

https://<host>/api/v01/Task
https://<host>/api/v01/Tasks


Endpoint map

MethodURLPurposeTransport
GET/api/v01/Task/odata/Task(ID='…',TaskKeyField='…')Read a single taskOData
GET/api/v01/Task/odata/TaskCustomFields(…)Custom fields of a single taskOData
GET/api/v01/Tasks/odata/TasksTask listOData
GET/api/v01/Tasks/odata/TaskCustomFieldsCustom fields across tasksOData
GET/api/v01/Tasks/odata/StatusesStatus referenceOData
GET/api/v01/Tasks/odata/TypesTask type referenceOData
GET/api/v01/Tasks/odata/PrioritiesPriority referenceOData
GET/api/v01/Tasks/odata/ResolutionsResolution referenceOData
GET/api/v01/Tasks/odata/ComponentsProject component referenceOData
GET/api/v01/Tasks/odata/LabelsLabel referenceOData
GET/api/v01/Tasks/odata/VersionsVersion (fix-versions) referenceOData
GET/api/v01/Tasks/odata/WatchersTask watchersOData
GET/api/v01/Tasks/odata/ProjectsProjects available to the userOData
POST/api/v01/Task/rest/CreateCreate a taskREST
POST/api/v01/Task/rest/UpdateUpdate a taskREST
POST/api/v01/Task/rest/DeleteDelete a taskREST


Task description (RTE). The task description field is stored separately from the main record — as an HTML file in the attachments subsystem. In REST operations it is passed as follows: in POST /Task/rest/Create — in the body, at the top level, the Description field (HTML string); in POST /Task/rest/Update — in the query parameter Description. When updating, a history entry for the description change is created automatically (HTML diff).