October 11-13, 2022

GitKon 2022

Git Integration for Jira Cloud Documentation

Adding webhooks for Azure DevOps Repos | VSTS

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 to open this video in a new browser tab for more viewing options.

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

Setting up webhook for Azure Repos

Configure webhook by logging in to your VSTS/Azure DevOps account.

  1. Open a project by clicking on it.

  2. Click Project Settings then select Service Hooks. The following screen is displayed.

  3. Click + icon to add a new service hook subscription.

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

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

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

  7. Copy the complete secret key URL by clicking the copy icon on the right.

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

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

  10. Click Finish to complete this setup.

  11. Repeat the above steps for Pull request created and Pull request updated webhooks.

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.

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