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.
Authorization Information
No identity policy-based permission required for calling this API.
URI
GET /v2/version/query-immovable-issues
| 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 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 API for querying the project list. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| number | Integer | Definition: ID of the deleted sprint. Value range: N/A |
| id | String | Definition Unique ID of the deleted sprint. Range N/A |
| status_id | Integer | Definition Status ID of the deleted sprint. 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
GET https://{endpoint}/v2/version/query-immovable-issues?project_id=ac73924a87d0455ca9b16b0ed15fe367&version_id=26658650 Example Responses
Status code: 200
{
"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.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot