March 28th 1 PM ET
Free Workshop: Escape the chaos of context-switching

Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Adding Webhooks for Azure DevOps Server | TFS

Pull request webhooks are now supported. See details on this page.

Supported webhook events:
  • Code pushed
  • Pull request created
  • Pull request updated
  • Pull request merge attempted

Right click here and view this video in a new browser tab. (While the above video showcases VSTS/Azure DevOps, the entire process is entirely the same for Azure Repos webhooks setup.)

 

Before you can proceed with the steps outlined on this guide, webhooks must be enabled in the Git Integration for Jira app repository configuration for your Jira instance. For more details, see Webhooks – Getting Started.

  1. Configure webhook by logging in to your Azure DevOps Server/TFS account:

  2. Open a project by clicking on it.

  3. Click Project Settings (sidebar) then select Service Hooks. The following screen is displayed.


  4. Click  +  to add a new service hook subscription.

  5. Scroll to Web Hooks and click to select it.

  6. 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.


  7. Switch to your Jira instance then navigate to Git ➜ Manage repositories page and then open Webhooks.


  8. Copy the complete Webhook URL by clicking the copy icon adjacent to the right of the URL field.

  9. Switch back to Azure DevOps Server/TFS (where you left off) and paste this information into the provided URL box.

  10. Click Test to verify if webhook integration is successful or not.


  11. 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.


 

More related articles about webhooks setup

Creating reindex triggers for a single repository

Adding webhooks for GitHub

Adding webhooks for GitLab

Webhooks GitHub Organization support

Adding webhooks for Azure DevOps Repos | VSTS

Adding webhooks for Azure DevOps Server | TFS (this page)

Adding webhooks for Bitbucket

Adding webhooks for Gerrit

Have feedback about this article? Did we miss something? Let us know!
On this page