Dart icon

Dart

Dart streamlines project management so your team can get back to work that matters.

Task → Update Task

AI-generated

Summary

Updates an existing Dart task by ID using a JSON body to specify changed fields.

Inputs

  • id (required) — The unique ID of the task to update.
  • item (required) — A JSON object defining the fields to update. Only provided fields are changed; omitted fields remain unchanged. Includes fields for assignees, reviewers, tags, customProperties, and taskRelationships.
  • requestOptions — Optional configuration for HTTP requests, including batching, SSL settings, proxy, and timeout.

Output shape

A single item containing the updated task data.

The returned item reflects the state of the task after the update.

Examples

Example 1: Update a task's custom text property

ID: task-123, Item: { customProperties: { customTextProperty: "Updated description" } }

Example 2: Change task assignees and add tags

ID: task-456, Item: { assignees: ["user@example.com"], tags: ["high-priority", "review"] }

Example 3: Update task relationships

ID: task-789, Item: { taskRelationships: { relatedIds: ["rel-task-1", "rel-task-2"] } }

Links

Discussion