Skip to main content

updateFeature

client.roadmap.updateFeature(featureId: string, data: UpdateFeatureRequest): Promise<RoadmapFeature>

Updates an existing feature.

Modifies the properties of a feature such as its title, description, status, or priority.

Parameters

ParameterTypeRequiredDescription
featureIdstringYesThe unique identifier of the feature to update
dataUpdateFeatureRequestYesThe fields to update on the feature

Returns

Promise<RoadmapFeature> — A promise that resolves to the updated RoadmapFeature

Example

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

const client = new CodeBoltClient();

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