Updated on 2025-08-15 GMT+08:00

Setting Feishu Subscriptions

Scenario

When any of the following events occurs, CodeArts sends a message through HTTP to the Feishu group that has subscribed to the event.

Table 1 Event types

Service

Event Type

Notification Content

CodeArts Req

Raw requirement

  • Create/Submit
  • Edit
  • Delete
  • Change
  • Update status
  • Comment
  • Requirement name
  • Requirement ID
  • Operator
  • Operation time

System feature (SF)

  • Create
  • Edit
  • Delete
  • Change
  • Baseline/Unbaseline
  • Update status
  • Comment

R&D requirement (IR/SR/AR)

  • Create
  • Edit
  • Delete
  • Change
  • Baseline/Unbaseline
  • Move
  • Comment
  • Update status

Task

  • Create
  • Edit
  • Delete
  • Comment
  • Update status

Bug

  • Create/Submit
  • Edit
  • Delete
  • Move
  • Update status
  • Comment

Review

  • Submit
  • Transfer to others
  • Cancel/Reject
  • Change object reviewed
  • Change object decision-making completed
  • Review or decision-making completed
  • Delete
  • Comment

CodeArts Check

Check task

Completed

  • All
  • Gate check passed
  • Gate check failed
  • Check result
  • Gate check result
  • Issues
  • Redirect URL
  • Executed by
  • Completion time

CodeArts Deploy

Application

  • Application deployed
  • Deploy application failed
  • Deploy stopped
  • Application name
  • Execution result
  • Execution ID
  • Executed by
  • Execution time
  • Project name

CodeArts Pipeline

Pipeline

  • Completed
  • Failed
  • Paused
  • Suspended
  • Ignored
  • Pipeline name
  • Pipeline execution description
  • Executed by
  • Trigger
  • Project name
  • Execution time
  • Running status

Constraints

  • This function is now available in the AP-Singapore region.
  • CodeArts Req configuration is only available for IPD projects.

Prerequisites

You have created a CodeArts project, and your role in the project is Project Administrator or Project Manager.

Procedure

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  2. Click the target project name to go to the project.
  3. In the navigation pane, choose Settings > General > Notifications.
  4. Click the Feishu tab.
  5. Configure the parameters and click OK.

    Figure 1 Configuring Feishu notifications (Check tasks are used as an example.)
    Table 2 Setting Feishu subscriptions

    Parameter

    Description

    URL

    Enter the webhook URL of your Feishu robot, and start with http:// or https://. The URL cannot exceed 256 characters.

    For details about how to obtain the webhook URL of your Feishu robot, see section "Custom bot usage guide" in the Feishu Open Platform Help Center. (The section name is subject to updates of the Feishu Help Center.)

    Event types

    Event types that can trigger a Feishu notification. For details about the supported event types, see Table 1.

    Notification Content

    Content of the Feishu notification. For details about the configurable content, see Table 1.

    This parameter is optional. Configure it as needed.

    @user_id

    Feishu user IDs of the members you want to mention. Separate the IDs with semicolons (;). The total IDs cannot exceed 1,000 characters. Digits, letters, semicolons (;), periods (.), hyphens (-), underscores (_), and at signs (@) are supported.

    This parameter is optional. Configure it as needed.

    Secret

    If your Feishu robot has enabled signature-based encryption in security settings, enter the signing secret with a maximum of 2,000 characters.

    For details about how to obtain the signing secret of your Feishu robot, see section "Custom bot usage guide" in the Feishu Open Platform Help Center. (The section name is subject to updates of the Feishu Help Center.)

    The updated configuration is displayed.