Setting DingTalk Subscriptions
Scenario
When any of the following events occurs, CodeArts sends a message through HTTP to the DingTalk group that has subscribed to the event.
|
Category |
Event types |
|---|---|
|
Raw requirement |
Create/Submit |
|
Edit |
|
|
Delete |
|
|
Change |
|
|
Update status |
|
|
Ticket reminder added |
|
|
Comment |
|
|
System feature (SF) |
Create |
|
Edit |
|
|
Delete |
|
|
Change |
|
|
Baseline/Unbaseline |
|
|
Update status |
|
|
Ticket reminder added |
|
|
Comment |
|
|
R&D requirement (IR/SR/AR) |
Create |
|
Edit |
|
|
Delete |
|
|
Change |
|
|
Baseline/Unbaseline |
|
|
Move |
|
|
Comment |
|
|
Ticket reminder added |
|
|
Update status |
|
|
Task |
Create |
|
Edit |
|
|
Delete |
|
|
Comment |
|
|
Ticket reminder added |
|
|
Update status |
|
|
Bug |
Create/Submit |
|
Edit |
|
|
Delete |
|
|
Move |
|
|
Update status |
|
|
Ticket reminder added |
|
|
Comment |
|
|
Review |
Submit |
|
Transfer to others |
|
|
Cancel/Reject |
|
|
Change object reviewed |
|
|
Change object decision-making completed |
|
|
Review or decision-making completed |
|
|
Delete |
|
|
Comment |
|
Category |
Event types |
|---|---|
|
Repository |
Capacity warning |
|
Repo deleted |
|
|
MR |
MR opened |
|
MR updated |
|
|
MR merged |
|
|
MR reviewed |
|
|
MR approved |
|
|
Review created |
|
|
Review comment resolved |
|
Event Type |
Notification Content |
|
|---|---|---|
|
CodeArts Pipeline |
Completed |
|
|
Failed |
||
|
Paused |
||
|
Suspended |
||
|
Ignored |
||
|
Event Type |
Notification Content |
|
|---|---|---|
|
Check task |
Completed
|
|
|
Event Type |
Notification Content |
|
|---|---|---|
|
Build task |
Task successful |
|
|
Task failed |
||
|
Task disabled |
||
|
Task deleted |
||
|
Task configurations updated |
||
|
Event types |
Notification Content |
|
|---|---|---|
|
Application |
Application deployed |
|
|
Deploy application failed |
||
|
Deploy stopped |
||
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
- Go to the CodeArts homepage.
- Log in to the CodeArts console, click
, and select a region where you have enabled CodeArts. - Click Go to Workspace.
If your account uses the old billing mode (see Old Billing Modes), click Access Service.
- Log in to the CodeArts console, click
- Click the target project name to go to the project.
- In the navigation pane, choose Settings > General > Notifications.
- Click the DingTalk tab.
- Configure the parameters and click OK.
Figure 1 Configuring DingTalk notifications (CodeArts Pipeline is used as an example.)
Table 7 Setting DingTalk subscriptions Parameter
Description
URL
The webhook URL of your DingTalk robot. Start with http:// or https://. The URL cannot exceed 256 characters.
Event types
Event types that can trigger a DingTalk notification. For details about the supported event types, see Scenario.
Notification content
Content of the DingTalk notification. For details about the configurable content, see Scenario.
This parameter is optional. Configure it as needed.
@user_id
DingTalk 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.
@Mobile numbers
Mobile numbers of the members you want to mention. Separate mobile numbers with semicolons (;). The total mobile numbers cannot exceed 1,000 characters. Digits and semicolons (;) are supported.
Secret
If your DingTalk robot has enabled signature-based encryption in security settings, enter the signing secret with a maximum of 2,000 characters.
The updated configuration is displayed.
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