Help Center/ CodeArts Req/ API Reference/ API/ Iteration of the Scrum Project/ Querying the Work Items That Cannot Be Transitioned to a Specified Status When a Sprint Is Closed
Updated on 2025-09-10 GMT+08:00

Querying the Work Items That Cannot Be Transitioned to a Specified Status When a Sprint Is Closed

Function

This API is used to query the work items that cannot be transitioned to a specific status when a sprint is closed.

Calling Method

For details, see Calling APIs.

URI

GET /v2/version/query-immovable-issues

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

version_id

No

String

Definition:

Version ID of the end sprint. The value is obtained by calling the Querying the Sprint API. The ID in the version field in the response body is the ID of the current sprint.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

project_id

No

String

Definition:

32-character ID of a project, which uniquely identifies a project. Obtain the value of this parameter from the project_id field in the response body of the Querying the Project List API.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

number

Integer

Definition:

ID of the deleted sprint.

Value range:

N/A

id

String

Definition:

Unique ID of the deleted sprint.

Value range:

N/A

status_id

Integer

Definition:

Status ID of the deleted sprint.

Value range:

0: not started

1: ongoing

2: closed

status_name

String

Definition:

Status name of the deleted sprint.

Value range:

0: not started

1: ongoing

2: closed

Example Requests

{endpoint}/v2/version/query-immovable-issues?project_id=ac73924a87d0455ca9b16b0ed15fe367&version_id=26658650

Example Responses

Status code: 200

OK (The request has succeeded).

{
  "number" : 0,
  "id" : "c42312e7f4b74810970a8201b0f96751",
  "status_id" : 5,
  "status_name" : "Closed"
}

Status Codes

Status Code

Description

200

OK (The request has succeeded).

Error Codes

See Error Codes.