Supported webhook events:
- Code pushed
- Pull request created
- Pull request updated
- Pull request merge attempted
Setting up webhooks for Azure DevOps Server | TFS
Configure webhook by logging in to your Azure DevOps Server/TFS account.
Open a project by clicking on it.
Click Project Settings (sidebar) then select Service Hooks. The following screen is displayed.
Click the + Icon to add a new service hook subscription.
Scroll to Web Hooks and click to select it.
Click Next. The following screen is displayed.
Set "code pushed" for the Trigger on this type of event selector.
Set all FILTERS to "Any".
Click Next to proceed to the following screen.
Switch to your Jira instance then navigate to Manage Git repositories page and then click Indexing triggers (or alternatively go to Jira Settings ➜ Apps. On the sidebar, click Indexing triggers).
Copy the complete secret key URL using the copy icon on the right.
Switch back to Azure DevOps Server/TFS (where you left off) and paste this information into the provided URL box.
Click Test to verify if webhook integration is successful or not.
Click Finish to complete this setup.
Pull request webhooks
The Git Integration for Jira app supports pull request webhooks now.
You will need to have three (3) separate service hooks configuration for it to work properly. Aside from setting up the "Code pushed" service hook outlined above in step 6.a, perform the same process with Pull request created and Pull request updated for the triggers.