Help Center/ CodeArts Pipeline/ API Reference/ API/ Change Management/ Updating Work Items Associated with a Change
Updated on 2025-03-25 GMT+08:00

Updating Work Items Associated with a Change

Function

This API is used to update work items associated with a change.

Calling Method

For details, see Calling APIs.

URI

PUT /v2/{cloudProjectId}/change-request/{changeRequestId}/workitem/update

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

cloudProjectId

Yes

String

Project ID.

changeRequestId

Yes

String

Change ID.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

work_item_ids

Yes

Array of strings

Work item ID.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

-

String

Whether the modification is successful.

Example Requests

PUT https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/adebc0cd4e9f44dfb92a6f5ad5106c2b/workitem/update

{
  "work_item_ids" : [ "2332711" ]
}

Example Responses

Status code: 200

ok

true

Status Codes

Status Code

Description

200

ok

Error Codes

See Error Codes.