ADO Service Hooks (fire on workitem.update) slow / unreliable?

117 Views Asked by At

In my ADO project i have set up some service hooks that fire events to an azure service bus queue. The service hook is set to fire whenever i update a work item. The connection is working seemingly fine, the messages always go through eventually and i never get any failures. The Test message which ADO can send for you also instantly arrives every time. This leads me to believe the service hook is configured correctly.

However, when i actually go and update a work item, and i expect my service hook to fire. it sometimes takes up to 1-2 hours or longer, sometimes only 5 minutes.

I have also made a service hook that sends the exact same message to a storage queue to eliminate the possibility that it is related to my service bus.

I have tried reviewing the configuration of the service hooks, my service bus connection. I have checked the message that does eventually get sent by the service hook which looks fine. Additionally i have used the Test message option for each of the service hooks and confirmed that it lands in the correct queue.

Are the service hooks just that slow in ADO? I expected them to be much faster but maybe i was naive..

Or is there something i can do to optimize their trigger response time

1

There are 1 best solutions below

3
On

You can try to check with the following things to fix the issue:

  1. Ensure the Service Hook you set up on Project Settings page is enabled.

    enter image description here

  2. Open the History of the Service Hook, if all the recent work item updated events have been listed. Got to check whether the provided SAS Connection String of your Service Bus is correct. Try to change the Connection String between Primary Connection String and Secondary Connection String.

    enter image description here