Skip to main content

createPhase

client.roadmap.createPhase(data: CreatePhaseRequest): Promise<RoadmapPhase>

Creates a new roadmap phase.

Adds a high-level phase to the roadmap for organizing features. Phases typically represent milestones, sprints, or release versions.

Parameters

ParameterTypeRequiredDescription
dataCreatePhaseRequestYesThe phase creation payload including name and optional description

Returns

Promise<RoadmapPhase> — A promise that resolves to the newly created RoadmapPhase

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.roadmap.createPhase(/* CreatePhaseRequest */);
console.log(result);