Class: Task

Task(task)

Represents a Task within a Story in the Shortcut project management system. Tasks are sub-items of Stories that represent smaller, specific pieces of work.

Constructor

new Task(task)

Creates a new Task instance from Shortcut task data.

Parameters:
Name Type Description
task ShortcutTask

The task data from Shortcut API

Source:

Extends

Classes

Task
Task

Members

client

The Shortcut API client instance used for making API requests

Overrides:
Source:

complete

Whether the task has been marked as complete

Source:

complete :boolean

Whether the task has been marked as complete

Type:
  • boolean
Source:

context

The VS Code extension context

Overrides:
Source:

created_at

ISO timestamp when the task was created

Source:

created_at :string

ISO timestamp when the task was created

Type:
  • string
Source:

description

Text description of the task

Source:

description :string

Text description of the task

Type:
  • string
Source:

id

Unique identifier for the task

Source:

id :number

Unique identifier for the task

Type:
  • number
Source:

member_mention_ids

Array of member IDs that are mentioned in the task

Source:

member_mention_ids :Array

Array of member IDs that are mentioned in the task

Type:
  • Array
Source: