Connecting TDX to Azure Dev/Ops

I created a web hook in Azure Dev/Ops as per this article but when I test it , it errors with a bad request error.

I'm using my sandbox. What is the issue? 

https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=49695

Asked by Joe Allen on Thu 11/14/19 11:28 AM
Sign In to leave feedback or contribute an answer

Answers (5)

This answer has been marked as the accepted answer
Mark Sayers Fri 11/15/19 10:23 AM

Joe,

It looks like your issue is how you formatted your secret key when you entered it into the Azure Dev/Ops web hook configuration thing. It should *not* have the [ and ] brackets around it, those were meant only to symbolize where the secret key went.

Also, you'll need to be sure to set up the Trigger for VSTS that fires on Code pushed. Which is described in steps 6-9 in this KB: https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=49695

No feedback
I was able to get my trigger to work using the instructions. However, when I change the Trigger from Code Pushed to any of the Pull Request choices, I get a '400 - Bad Request' response. Is Code Pushed the only Trigger that will work or is there something else I need to change? - Bobby Jones Tue 8/8/23 10:02 AM
Per the article we instruct to use Code Pushed because it is the only method that works. - Mark Sayers Tue 8/8/23 10:22 AM

Joe Allen Fri 11/15/19 10:33 AM

Thanks Mark. That worked. 
I did update the trigger described in steps 6 thru 9. Do you know a simple test in Azure dev/ops to test this trigger? If not, that's fine. Thanks. 

 

No feedback
Unfortunately I am unfamiliar with the usage of that integration to advise of a way to test it. - Mark Sayers Fri 11/15/19 10:38 AM
Whichever team is going to be using this integration would need to actually submit code to that repository tagged/pointed at an item ID from the sandbox. - Mark Sayers Fri 11/15/19 10:42 AM
That's fine. Thanks again for all your help. Have a great weekend. - Joe Allen Fri 11/15/19 10:45 AM

Joe Allen Thu 11/14/19 2:51 PM

I'm off to a meeting but here it is

No feedback

Joe Allen Thu 11/14/19 1:43 PM

Hi Mark,

Yes, I did. Here it is.

Thanks.

 

No feedback
Thanks Joe, Can you show me a screen shot of the setup of the web hook in your Azure Dev/Ops area now? - Mark Sayers Thu 11/14/19 2:47 PM

Mark Sayers Thu 11/14/19 11:51 AM

Hello Joe,

Per step 1, were you able to create a secret key in TDX? If so, can you send me a screen shot of  that? You can edit out the actual key value as needed.

 

No feedback