Set up triggers for the Microsoft Azure DevOps Boards spoke
Set up triggers for the Microsoft Azure DevOps spoke for the required events. The endpoint enables webhooks to connect with your ServiceNow instance.
Before you begin
Role required: admin
Configure triggers in ServiceNow instance
Configure endpoint for webhooks in Microsoft Azure DevOps that support the token authentication.
Before you begin
Role required: admin
Procedure
Navigate to All > Process Automation > Workflow Studio.
Click the Integrations tab.
Toggle and enable the Inbound connections.
Locate the Microsoft Azure DevOps Boards Spoke endpoint and click View Details.
Microsoft Azure Devops Board spoke inbound connection for external triggers.
- For the Microsoft Azure DevOps Boards External Trigger end point, click Configure.
Configure Microsoft Azure Devops Boards External Trigger connection.
- Select the user who can trigger the endpoint and click Activate.
Configure endpoint for Microsoft Azure Devops Boards External Trigger.
Copy and store the generated token, URL, and header parameter name for further use.
Copy the generated token,URL, and header parameter name for external trigger.
Create a service hook subscription for Microsoft Azure DevOps Boards spoke
Create and configure a service webhook in Microsoft Azure Devops for Microsoft Azure DevOps Boards spoke.
Before you begin
- Role required: admin
- Configure triggers in ServiceNow instance
Procedure
In your Azure DevOps project, navigate to Project settings > Service hooks at https://<organization-name>/<project-name>/_settings/serviceHooks.
On the Service Hooks page, select the + icon or Create subscription.
On the Service screen, select Web Hooks and then select Next.
Creating a service webhook for external triggers.
From the Trigger on this type of event list, select a supported Azure Devops event and click Next.
For example, select Work item restored.
Configuring a trigger in the webhook.
- On the NEW SERVICE HOOKS SUBSCRIPTION form, fill in the fields for an action.
| Field | Description | ||
|---|---|---|---|
| URL | URL generated while configuring triggers in ServiceNow instance in the URL field. | ||
| HTTP headers | Key-value pair of header parameter and token generated in this format: `azure-devops-board-token: | RESOURCE VERSION | Select \[Latest\]. | Image omitted: ms-azure-devops-boards-webhook-action.jpg Configuring settings in the webhook for external triggers.
ResultNow you can create a flow and start using the supported trigger events in the flow. |