Skip to main content

addLinkedJob

client.reviewMerge.addLinkedJob(id: string, data: AddLinkedJobRequest): Promise<unknown>

Links an existing job to a review-merge request.

Associates a job with this review so that changes from the job are tracked as part of the review workflow.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the review-merge request
dataAddLinkedJobRequestYesThe linked job details including the job ID to associate

Returns

Promise<unknown> — A promise that resolves when the job has been linked

Example

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

const client = new CodeBoltClient();

const result = await client.reviewMerge.addLinkedJob('id', /* AddLinkedJobRequest */);
console.log(result);