- 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
- 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.
Querying Customized Fields of Scrum Work Items
Function
Queries the optional list of customized fields of the Scrum work item. All fields that meet the custom_fields or names condition are returned. If neither of the two values is transferred, the list of all customized fields is returned.
URI
POST /v4/projects/{project_id}/issues/custom-fields
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the 32-bit ID of the devcloud project. |
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. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
custom_fields |
No |
Array of strings |
Custom Parameter |
names |
No |
Array of strings |
Meanings displayed on the customized field page |
included_not_in_use |
No |
Boolean |
Indicates whether the query result contains unused user-defined fields. By default, only user-defined fields in use are queried. If this parameter is set to true, all user-defined fields in the project are queried. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
datas |
Array of IssueCustomField objects |
Data Returned by Customized Fields |
Parameter |
Type |
Description |
---|---|---|
name |
String |
Custom Parameter |
custom_field |
String |
Custom Parameter |
options |
String |
Optional values of a customized field. Use commas (,) to separate multiple values. |
type |
String |
User-defined field type, textArea: multi-line text, which can contain only Chinese characters, uppercase letters, lowercase letters, digits, underscores (), and hyphens (-) and cannot exceed 500 characters. text: single-line text, which can contain only Chinese characters, uppercase letters, lowercase letters, digits, underscores (), and hyphens (-) and cannot exceed 500 characters. The select drop-down list box can contain only Chinese characters, uppercase letters, lowercase letters, digits, underscores (), and hyphens (-). Each option can contain a maximum of 40 characters. A maximum of 60 options can be defined. number: The value range is set when a user creates a customized field. The value of date is accurate to year, month, and day, and the value of time_date is accurate to hour, minute, and second. The value is a long integer timestamp. The check box can contain only Chinese characters, uppercase letters, lowercase letters, digits, underscores (), and hyphens (-). Each option can contain a maximum of 40 characters. A maximum of 60 options can be defined. The radio option button can contain only Chinese characters, uppercase letters, lowercase letters, digits, underscores (_), and hyphens (-). Each option can contain a maximum of 40 characters. A maximum of 60 options can be defined. |
tracker_ids |
Array of integers |
Work item types supported by user-defined fields: 2 task/task, 3 defect /Bug,5Epic,6Feature,7Story |
create_time |
String |
Time when a customized field is created. |
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
Post https://{endpoint}/v4/projects/0792b7d26cb74bd799cbae80063dc74a/issues/custom-fields
{
"names" : [ "Drop-down list box demo" ],
"included_not_in_use" : true
}
Example Responses
Status code: 200
OK
{
"datas" : [ {
"name" : "selectName",
"custom_field" : "custom_field16",
"options" : "selectName1,selectName2",
"type" : "ratio",
"tracker_ids" : [ 7 ],
"create_time" : "2023-05-17T09:50:04+08:00"
} ]
}
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