- What's New
- Function Overview
-
Service Overview
- What Is CodeArts Req?
- Advantages
- Use Cases
-
Features
- Multiple Built-in IPD Requirement Models
- E2E Traceability
- Baseline Management and Change Review
- Efficient Cross-Project Requirement Collaboration
- System Feature Management
- Customers' Raw Requirements Management
- Bug Full Lifecycle Management
- Efficient Cross-Organization Collaboration for Bug Tracking and Management
- Bug Trend Analysis and Quality Measurement
- Traceable Fixing Process
- Customizable Fixing Process
- Security
- Permission Management
- Constraints
- Basic Concepts
- Getting Started
-
User Guide
- CodeArts Req Usage Process
- Purchasing and Authorizing CodeArts Req
- Accessing the CodeArts Req Homepage
- Managing a Program
- Creating a CodeArts Project
-
Managing Scrum Project Requirements
- Requirement Management Process
-
Configuring Common Settings
- Configuring Common Work Item Fields
- Configuring Common Work Item Statuses
- Configuring Work Item Fields and Templates
- Managing Work Item Statuses and Transitions
- Configuring Work Item Status Rollup Rules
- Adding Work Item Modules
- Adding Work Item Domains
- Adding Work Types
- Configuring Notification Rules
- Creating and Managing Work Items
- Configuring a Sprint Plan
- Tracking the Project Progress
-
Managing IPD-System Device Project Requirements
- Requirement Management Process
-
Configuring Common Settings
- Configuring Common Work Item Fields
- Configuring Common Work Item Statuses
- Configuring Work Item Templates
- Configuring Work Item Status Flows
- Configuring Work Item Tags
- Creating Work Item Modules
- Creating Work Types
- Configuring Work Item Status Rollup Rules
- Configuring Notification Rules
- Configuring Reviews
- Viewing Work Item Import/Export Records
- Creating and Managing RRs
- Creating and Managing a Feature Tree and System Features
- Configuring Project Plans
- Creating and Managing R&D Requirements
- Creating and Managing Tasks
- Creating and Managing Bugs
- Reviewing Work Items
- Tracking the Project Progress
-
Managing IPD-Standalone Software Project Requirements
- Requirement Management Process
-
Common Configuration Management
- Configuring Common Work Item Fields
- Configuring Common Work Item Statuses
- Configuring Work Item Templates
- Configuring Work Item Status Flows
- Configuring Work Item Tags
- Creating Work Item Modules
- Creating Work Types
- Configuring Automatic Rollup Rules
- Configuring Notifications
- Configuring Reviews
- Viewing Work Item Import/Export Records
- Creating and Managing RRs
- Creating and Managing a Feature Tree and System Features
- Configuring a Plan
- Creating and Managing R&D Requirements
- Creating and Managing Tasks
- Creating and Managing Bugs
- Reviewing Work Items
- Tracking the Project Progress
- (Optional) Checking Audit Logs
-
Best Practices
- CodeArts Req Best Practices
- Best Practices of Scrum Projects
- Using an IPD-System Device Project to Manage RRs of a Smart Watch R&D Project
- Using an IPD-System Device Project to Manage Defects of a Smart Watch R&D Project
- Using an IPD-System Device Project to Review Baselines of a Smart Watch R&D Project
- Using an IPD-System Device Project to Manage Feature Trees of a Smart Watch R&D Project
- Using an IPD-System Device Project to Review Changes to a Smart Watch R&D Project
- Huawei E2E DevOps Practice: Managing Requirements
-
API Reference
- Before You Start
- API Overview
- Calling APIs
-
API
- User Information
- Project members
- Project Information
- Project Indicators
- Project Statistics
-
Work Items of the Scrum Project
- Creating a Customized Field for a Work Item Type
- Uploading an image
- Obtaining Work Item Completion Rate
- Obtaining Comments on a Specified Work Item
- Querying Labor Hours by User (Single Project)
- Querying Labor Hours by User (Multi-Project)
- Obtaining the Work Item History
- Create work items.
- Querying Work Items of a Project
- Advanced Query Work Item
- Deleting Work Items in Batches
- Querying Work Item Details
- Updating a Work Item
- Deleting a Work Item
- Obtains sub-work items.
- Querying Historical Records of All Work Items in a Project
- Querying the Work Item Transfer Configuration of a Scrum Project
- Creating a Work Item as a Fine-grained Permission User
- Queries the work items associated with the current work item.
- Queries the associated Wikis associated with the current work item.
- Queries the code submission records or branch creation records associated with the current work item.
- Querying Associated Wikis
- Querying Customized Fields of Scrum Work Items
- Downloading an Image
- Uploading an Attachment to a Work Item
- Iteration of the Scrum Project
- Modules of the Scrum Project
- Domain of the Scrum Project
- Scrum Project Statuses
- IPD Work Item Management
- IPD Field Template Management
- IPD Work Item Process
- IPD Workflow
- IPD Status Management
- Application Examples
- Appendix
- Change History
-
FAQs
- Work Items
- Member Management
-
Troubleshooting
- Why Is the Message "You have been invited to run projects with another account. Accept invitation" Displayed When Inviting Other Users to Join My Project in CodeArts Req?
- Why Am I Prompted that the Service Is Disabled When Creating a Project with "DevOps Full-Process"?
- Why Is a Message Indicating the Field Name Already Exists Displayed When Setting a Work Item Field in a Scrum Project?
- Videos
- General Reference
Copied.
Obtaining Sprints of a Specified Project
Function
Obtain Project Iteration
URI
GET /v4/projects/{project_id}/iterations
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the 32-bit ID of the devcloud project. Minimum: 32 Maximum: 32 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
updated_time_interval |
No |
String |
Update iteration time (query start time and query end time). |
include_deleted |
No |
Boolean |
Indicates whether deleted iterations are included. The default value is false, indicating that deleted iterations are not included. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. Minimum: 10 Maximum: 32768 |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total |
Integer |
Total Iterations |
iterations |
Array of iterations objects |
Iteration information |
Parameter |
Type |
Description |
---|---|---|
description |
String |
Indicates the description of the sprint. |
end_time |
String |
Indicates the end date of the sprint. |
id |
Integer |
Identifies a sprint. |
name |
String |
Indicates the title of the sprint. |
begin_time |
String |
Indicates the start date of the sprint. |
status |
String |
Iteration Status |
updated_time |
Long |
Iteration update time, which is a long integer timestamp. |
deleted |
Boolean |
Indicates whether the iteration has been deleted. The options are false (not deleted) and true (deleted). |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Description |
error_code |
String |
Error Codes |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Description |
error_code |
String |
Error Codes |
Example Requests
Get https://{endpoint}/v4/projects/e2da96a5d2c845e284f0ad47f8ca8cb1/iterations Get https://{endpoint}/v4/projects/e2da96a5d2c845e284f0ad47f8ca8cb1/iterations
Example Responses
Status code: 200
OK
{
"total" : 3,
"iterations" : [ {
"description" : "description",
"end_time" : "2019-10-17",
"id" : 9725885,
"name" : "Completed HTML",
"begin_time" : "2019-10-10",
"status" : "0",
"updated_time" : 1640231944000,
"deleted" : false
} ]
}
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
401 |
Unauthorized |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank 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