Web Hook to Post data to an Incoming Service Connection Error (404) on Azure Devops On-Premise

i want to trigger a pipeline when workItem State change to ‘Closed’. to handle that i tried following steps as requirement to trigger pipeline:

  1. Define an “Incoming Service Connection” to make web hook url post available for pipeline.
  2. Define a Web hook (set the desired event setting) and set URL to this: https://{org}/defaultcollection/{project}/_apis/public/distributedtask/webhooks/UpdateWorkItemState?api-version=7.0 which UpdateWorkItemState is webhook name in service connection defined in previous step.

but when testing Web Hook i encountered 404 not found error.

Incoming Service Connection Definition:

enter image description here

Web Hook Definition:

enter image description here

Test Window:

enter image description here

Leave a Comment