Book Image

JIRA 6.x Administration Cookbook

By : Patrick Li
Book Image

JIRA 6.x Administration Cookbook

By: Patrick Li

Overview of this book

Table of Contents (16 chapters)
JIRA 6.x Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using JIRA webhooks


In previous recipes, we looked at how to integrate JIRA with specific applications and platforms. In this recipe, we will look at webhooks, a different way of implementing integration with JIRA.

How to do it…

Perform the following steps to set up a webhook:

  1. Navigate to Administration | System | WebHooks.

  2. Click on the Create a WebHook button.

  3. Enter a name for the new webhook. This should clearly explain the purpose of the webhook and/or the target system.

  4. Enter the URL of the target system for the webhook to call.

  5. Check the Exclude details checkbox if adding data to the POST will cause errors.

  6. Enter the JQL to define the issues that will trigger the webhook, or leave it blank for all issues. It is recommended that you use JQL to restrict the scope.

  7. Select the issue events that will trigger the webhook.

  8. Click on Create to register the webhook:

How it works…

Webhooks follow an event-based mechanism, where the source system (in this case, JIRA) will make a HTTP POST call to all the registered...