Configuring a team space webhook
You can configure a team space webhook to send notifications to a messaging application whenever an event occurs on IBM® DevOps Test Hub (Test Hub).
You must have completed the following tasks:
- Ensured that you are assigned a role as a Team Space Owner in the team space. See Managing members and their roles in a team space.
- Ensured that you have access to the messaging applications.
- Created a channel type.
- Configured your messaging application.
- Copied the URL of the external communication application. See Creating an incoming webhook.
- Created a webhook template. See Configuring a webhook template.
When you configure a webhook on Test Hub, you must copy the URL of the communication application in the Webhook URL field and paste the outgoing URL, and then select the events. You can select either all events or a subset of events.
- All Events
- Team space Events
- Project Events
- Execution Events
- License Events
You can configure the webhook resume policy by selecting either the Queue old messages or Discard old messages option. When a team space webhook is disabled due to communication failures or network issues, the team space event notifications are not delivered to the configured webhook, and you receive a notification that the webhook is disabled. By configuring the queue old messages, you can ensure that the event notifications are not lost and are delivered to the configured webhook after the team space webhook is enabled again.
If you configure the Discard old messages for a team space webhook, the event notifications are discarded from the moment the webhook is disabled. Only team space events that occur after the webhook is re-enabled are sent to the configured webhook.
You have configured and created a team space webhook on Test Hub.
- You can duplicate or delete the template that you created on Test Hub. See Managing the webhook template configuration.
- You can duplicate or delete the webhook you created on Test Hub. See Managing the webhook configuration.