Help Center/ CodeArts Req/ User Guide/ Intelligent CodeArts Req Automation with CodeArts Agent
Updated on 2026-11-25 GMT+08:00

Intelligent CodeArts Req Automation with CodeArts Agent

CodeArts Req can be integrated with CodeArts Agent through a CodeArts toolchain plug-in. The CodeArts toolchain plug-in can be invoked by flexible prompts or skills to help the agent efficiently complete requirement management tasks.

There is no need to learn console operations. You just use natural language prompts in the CodeArts Agent chat window and let the agent manage requirements intelligently.

Core Benefits

  • No switching required: You can complete requirement management tasks directly in the agent chat window. There is no need to log in to the console or switch back and forth between different pages.
  • Natural language interaction: You can complete intelligent requirement management with just prompts.
  • Full scenario coverage: The integration covers eight major scenarios: work item management, status transitions, breakdown, and association, comment management, attachment management, plan management, and configuration queries.
  • End-to-end development process: The integration involves cooperation with services such as CodeArts Pipeline and CodeArts TestPlan, enabling a seamless, end-to-end workflow.

Principles

CodeArts Req makes its API capabilities available to CodeArts Agent through the CodeArts toolchain plug-in. After the agent interprets a user's natural language prompts, it calls the CodeArts Req API via Koo Command Line Interface (KooCLI), to perform the corresponding operations, and returns results to the chat window.

Figure 1 shows the interaction process.

Figure 1 Interaction process

CodeArts Toolchain Plug-in

The CodeArts toolchain plug-in integrates CodeArts R&D services, such as CodeArts Req, CodeArts Repo, CodeArts Check, CodeArts TestPlan, CodeArts Pipeline, CodeArts Build, CodeArts Artifact, and CodeArts Deploy, into CodeArts Agent as skills and sub-agents. After the plug-in is installed, users can trigger service operations directly through natural language prompts in the agent chat window. There is no need to switch to the console. After the primary agent receives a user prompt, it obtains execution specifications and routing strategies via skills. Skills guide interactive operations step by step, while sub-agents handle complex orchestration tasks, executing them autonomously in isolated contexts and returning results. For details about the skills and sub-agents included in the CodeArts toolchain plug-in, visit All CodeArts Sub-agents and Skills.

CodeArts Req provides eight skills and a sub-agent in the CodeArts toolchain plug-in.

The skills are expert in interactive requirement management, including work item management, status transitions, breakdown, and association, comment management, attachment management, plan management, and configuration queries. They understand the user's intent and intelligently manage requirements. When an operation is highly complex, involves batch processing, or requires multi-step orchestration, the skills hand the task off to the sub-agent for execution. The sub-agent runs autonomously in an independent context, without consuming primary chat resources. It can automatically complete complex orchestration tasks such as creating work items, transitioning work item statuses, and breaking down work items, and return a structured result report upon completion. Together, the skills and the sub-agent form a two-layer execution architecture, giving the agent the flexibility to handle varying tasks from single queries to batch orchestration.

CodeArts Req supports the following skills:

  • codearts-req-workitem
  • codearts-req-comment
  • codearts-req-config-ipd
  • codearts-req-config-scrum
  • codearts-req-issue-attachment
  • codearts-req-plan
  • codearts-req-workitem-ipd
  • codearts-req-workitem-scrum

Application Scenarios

The following CodeArts Req scenarios (adding, deleting, updating, or querying work items) are supported by CodeArts Agent.

Scenario

Scenario Description

Natural Language Prompt Example

Work item management

Create, query, update, and delete a work item.

  • Creating a work item: Create a bug work item named "my-test-bug" in the Cloud Platform project.
  • Querying a work item: Show me bug work item data in the Cloud Platform project.
  • Updating a work item: Update the planned completion time of work item "my-test-bug" in the Cloud Platform project to tomorrow.
  • Deleting a work item: Delete work item "my-test-bug" in the Cloud Platform project.

Work item status transition

Transition the status of a work item according to the workflow configuration.

Transition the status of "IR20260908171790" in the Cloud Platform project to "Analyzing."

Work item breakdown

Break down a work item into finer-grained child work items according to the work item type template configuration.

Break down work item "IR20260908171790" in the Cloud Platform project into two SRs.

Work item association

Set associations between work items according to the work item association configuration.

Associate work item "IR20260916209748" with work item "BUG20260916209643" in the Cloud Platform project.

Work item comment management

Add comments to work items, and reply to, edit, pin, and delete comments after they are posted.

Add the comment "Fixed" to work item "BUG20260908171775" in the Cloud Platform project.

Work item attachment management

Upload attachments to work items, and download or delete uploaded attachments.

Upload the attachment D:\test\testbug.pdf to work item "mytest" in the Risk Management project.

Plan management

Create release plans and iteration plans, baseline and unbaseline release/iteration plans, and update release/iteration statuses.

Create an iteration named "springtest" for the current month in the Risk Management project.

Configuration query

Query work item statuses, work item fields, project members, workflow configuration, and other information.

Show me project members of the Risk Management project.

Prerequisites

Tokens or credits in your CodeArts Agent account are consumed when this operation invokes tools or runs LLM inference.

No.

Item

Description

1

CodeArts Agent has been installed and you have logged in to it using your account.

CodeArts Req's intelligent capabilities are implemented through CodeArts Agent.

2

CodeArts Req has been purchased.

To use CodeArts Req functions through CodeArts Agent, you must have purchased CodeArts Req.

3

You have been assigned project-level role permissions for CodeArts Req.

To use CodeArts Req functions through CodeArts Agent, you must have relevant permissions assigned.

Procedure

  1. Click to download the CodeArts toolchain plug-in.
  2. Click install.bat in the plug-in package to install the plug-in and KooCLI.
  3. Complete KooCLI initialization to store your permanent AK/SK and region information in the configuration file, so there is no need to repeatedly enter this information when performing operations.
  4. Open the CodeArts Agent chat panel and tell it what you want to do using natural language.

    • The first time you use CodeArts Agent to perform requirement management-related operations, the analysis process takes longer. As usage increases, the analysis speed gradually improves and response time shortens.
    • The interface style varies across different CodeArts Agent clients; refer to the actual display in the tool you are using for the exact operations.

Usage Example

You can use CodeArts Agent for eight major scenarios in CodeArts Req: work item management, work item status transitions, work item breakdown into sub-items, work item association, work item comment management, work item attachment management, plan management, and configuration queries.

Related Documents

For more use cases of the CodeArts toolchain plug-in, see Developing a Travel Assistant Using the CodeArts Toolchain Plug-in.