On this page
- Navigate to Webhook Configuration
- Configure the Webhook
- Enter the details of the webhook
- Adding Response Template
Navigate to Webhook Configuration
- Click "Webhook Configuration" under the Admin section.
Configure the Webhook
As there is no webhook registered , No Records found is displayed
To configure the webhook, click Add button on the top right corner.
Enter the details of the webhook
- Webhook Name: Input a name for the webhook, which needs to be configured.
- Select Tool: Input the tool name whose webhook needs to be configured.
- Label Name: This label name will be auto populated as soon as the user selects the tool.
- Data Format: The data format which is supported, is JSON.
- MQ Channel : This field gets auto populated as soon as the webhook name is entered with a prefix “IPW_”
- Response Template: The response template has to be added should be in string format.
Sample Response Template:
repository.name=reponame,
head_commit.id=commitId,
head_commit.message=message,
head_commit.timestamp=commitTime,
head_commit.author.name=authorName
For the response of the webhook data, please check Annexure 1.