Setting DingTalk Subscriptions
Scenarios
When any of the following events occurs, CodeArts TestPlan sends a message through HTTP to the DingTalk group that has subscribed to the event.
TestPlan
| Category | Event Type |
|---|---|
| Test case | Assign Case Handler |
| Update Case | |
| Execute Manual Test Case | |
| API Test Case Execution Completed | |
| Delete Case | |
| Test suite | Create Test Suite |
| Update Test Suite | |
| Delete Test Suite | |
| Test Suite Execution Completed | |
| Test report | Create Report |
| Update Report | |
| Delete Report | |
| Branch plan | Create Plan |
| Change Plan | |
| Edit Risk Info (on the test quality dashboard) | |
| Delete Plan | |
| Delete Branch | |
| Send Quality Report upon Test Plan Completion | |
| Directory | Delete Directory |
| Comment notification | Comment Notification (comment changes in manual test cases) |
Prerequisites
You have created a CodeArts project, and your role in the project is Project Administrator or Project Manager.
Setting DingTalk Subscriptions
- Go to the CodeArts homepage.
- Click the target project name to go to the project.
- In the navigation pane, choose Settings > General > Notifications.
- Click the DingTalk tab.
- Configure the required parameters and click OK.
Table 2 Configuring DingTalk notifications Parameter
Description
URL
The webhook URL of your DingTalk robot. It must start with http:// or https://. The URL cannot exceed 256 characters.
Event Type
Event types that can trigger a DingTalk notification. For details about the supported event types, see Scenarios.
Content
Content of the DingTalk notification. For details about the configurable content, see Scenarios.
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 length of all 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.
Additional Signature
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.
What is your overall rating for this page?
Thank 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