[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / getTaskHierarchy

# Function: getTaskHierarchy()

> **getTaskHierarchy**(`board`, `taskId`): [`RuntimeTaskHierarchy`](../interfaces/RuntimeTaskHierarchy.md)

Defined in: [flow/product/src/kanban-adapter/task-board-mutations.ts:1053](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/product/src/kanban-adapter/task-board-mutations.ts#L1053)

Builds a complete hierarchy view for a task, including ancestors, direct children, and all descendants.

## Parameters

### board

#### columns

`object`[] = `...`

#### dependencies

`object`[] = `...`

#### workTypeRegistry

`RuntimeWorkTypeRegistry` = `runtimeWorkTypeRegistrySchema`

### taskId

`string`

## Returns

[`RuntimeTaskHierarchy`](../interfaces/RuntimeTaskHierarchy.md)
