task_context
Returns a task or bug by ID or number (unique within the company): spec, gist (gistInfo.stale - the spec changed after the gist), category, type (severity for bugs; bugType - defect nature), feature (feature.spec with includeFeatureSpec; feature.plan - a window of the plan), relations (dependencies - what it waits for; blockedTasks - what waits for it), allowedTransitions, allowedActions, specRevision, productID and a page of the task chat. Imported designs are in designs (design: markers; snapshotFID, contextFID with contextSize, assetsFID) and attachments in attaches by fid; raw design links without a designs entry are not imported. Useful when the user mentions a task number or asks about a task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | No | Task ID; preferred over key. | |
| key | No | Task number without a prefix, e.g. 25865, if the ID is unknown. | |
| chatAfter | No | Read messages newer than chat.after. | |
| chatLimit | No | Chat messages to return (default 20, max 100). | |
| chatBefore | No | Read messages older than chat.before. | |
| includeFeatureSpec | No | true includes the full feature spec (feature.spec); omitted by default. |