Skip to main content

moveFeature

client.roadmap.moveFeature(featureId: string, data: MoveFeatureRequest): Promise<unknown>

Moves a feature to a different phase or reorders it within its current phase.

Use this to reorganize the roadmap by relocating features between phases or changing the display order of features within a phase.

Parameters

ParameterTypeRequiredDescription
featureIdstringYesThe unique identifier of the feature to move
dataMoveFeatureRequestYesThe move parameters including target phase and/or position

Returns

Promise<unknown> — A promise that resolves when the feature has been moved

Example

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

const client = new CodeBoltClient();

const result = await client.roadmap.moveFeature('featureId', /* MoveFeatureRequest */);
console.log(result);