1 Download and Upgrade to 15.0+ Series
2 New Features of ZenTao 15 Series
3 Interface Changes of 15 Series
4 Update to the Latest Version
5 Quick Start of 15 Series
6. Basic Application of Version 15
6.1 Beginner
6.2 Add Integrally
6.3 API Library
7. Base On The Roles
7.1. Admin
7.1.1 Edit Departments and Team Members
7.1.2 Edit Users
7.1.3 Edit Privilege
7.2. Program Leader
7.2.1 Create a Program
7.2.2 Link to Products
7.2.3 Create a Project
7.2.4 Manage Staffs
7.2.5 Add a Program Stakeholder
7.3. Product Owner
7.3.1 Create a Product
7.3.2 Edit Modules
7.3.3 Product Multi-branch/Platform Management
7.3.4 Edit Plans
7.3.5 Edit Stories
7.3.6 Review a Story
7.3.7 Create a Release
7.3.8 Tracking Progress
7.4. Project Manager
7.4.1 Edit Projects and Execution
7.4.2 Edit Teams
7.4.3 Link to Stories
7.4.4 Split Tasks
7.4.5 Tracking Progress
7.4.6 Waterfall Project
7.4.7 Kanban Project
7.5. Development Team
7.5.1 Apply for Tasks and Bugs
7.5.2 Update Status
7.5.3 Complete Tasks and Bugs
7.5.4 Submit Codes
7.5.5 The General Kanban, Story Kanban, Bug Kanban, and Task Kanban
7.6. Test Team
7.6.1 Edit Users' Case
7.6.2 Execute Users' Case
7.6.3 Submit a Bug
7.6.4 Test and Close a Bug
8. DevOps Features
8.1 Git/SVN Repository Management and Viewing Code
8.2. Integrate GitLab
8.2.1 Integrate GitLab, Bind Users, Link to Issues and Create a Build
8.2.2 Integrate GitLab and Submit the Merge Requests
8.2.3 GitLab Privilege in ZenTao
8.3 Integrate Jenkins and Create a Build
8.4 Integrate SonarQube
9 General Kanban
10. Backstage Settings of Version 15
10.1 Desktop
10.2 Model
10.3 Custom
10.4. Message
10.4.1 Mail
10.4.2 Webhook
10.4.3 Browser
10.4.4 Settings
10.5 Extension
10.6 Secondary Development
10.7 System
10.8 Import Jira Data
10.9 Registration Menu and Privilege
11. Privileges Management and Access Control of Version 15
11.1 Privileges Management and Access Control for Programs
11.2 Privileges Management and Access Control for Products
11.3 Privileges Management and Access Control for Projects
11.4 Privileges Management and Access Control for Executions
11.5 Access Control and Data Relationships for Projects and Executions

Webhook

2022-01-21 10:05:10
Jing
2487
Last edited by WANG JING on 2022-01-21 12:26:11
Share links
Summary : ZenTao integrates the webhook function to enable message integration by sending data in JSON format to a third-party hook address.

Webhook

ZenTao integrates the webhook function, which can be used for message integration by sending data in JSON format to third party hook addresses. The following describes how to configure this feature.

Configuring Webhook

ZenTao has built-in multiple types of options, and fill in different information according to different options.

Notes:

  • Name: required field.
  • Hook address: required field, obtained from a third party.
  • Sending: Synchronous means that a message will be sent to the hook address immediately after the operation is performed in ZenTao. Asynchronous means that you need to set in "Background" - "System" - "Timing" to send tasks regularly.
  • Related products: Empty means that all operations in ZenTao will be sent to the hook address,otherwise only the related operations of the selected product will be sent.
  • Related projects: Empty means that all operations in ZenTao will be sent to the hook address, otherwise only the related operations of the selected project will be sent.
  • Trigger action: It refers to sending a message to the hook address when certain operations are performed. It can be set in "Background" - "Notification" - "Settings". If you are familiar with the secondary development based on ZenTao, you can modify this content by extending zentao/module/webhook/config.php file.

  • Parameter type: The attributes of the data sent include:

    { "objectType": "",  //Object type, can be null
        "objectID": "",    //Object ID,can be null
        "product": "",     //Related product ID,can be null
        "project": "",     //Related project ID,can be null
        "action": "",      //Action,can be null
        "actor": "",       //Actor,can be null
        "date": "",        //Action date,can be null
        "comment": "",     //Note,can be null
        "text": ""         //Action content, including the url of the actor, required.
    }
Write a Comment
Comment will be posted after it is reviewed.