Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

About

Webhooks are an essential part of Zephyr integration with Jira. They are used to synchronize Zephyr and Jira requirements and information about defects.

Webhooks can be created in two ways:

  • Zephyr creates pre-configured webhooks automatically while you are mapping a project in Zephyr. In this case, there is no need to perform any additional actions. Later, you can just update the created webhook, if needed.

  • You, as an administrator, create and manage webhooks manually. This can be useful if you do not have (or do not want to create) a Jira service account with permissions required for automatic webhook management.

This topic describes how to create webhooks manually.

Create a webhook

Steps to perform in Zephyr

  1. Log in to Zephyr as an administrator and navigate to Administration > System Setup > Jira Integration:

  2. Click the plus button in the top-right corner to start creating a new Jira integration, or click the Edit button to update the existing integration:

  3. In the subsequent dialog, populate all the fields, choose Manual from the Webhook Management dropdown, and click Confirm:

  4. Click Confirm in the next dialog:

  5. View the Jira diagnostic status and click Done:

  6. The subsequent Setup Jira Webhooks dialog contains the data you will have to copy from this dialog and enter in Jira when creating a webhook (see below):

  • Webhook URL - the URL where the webhook callback will be sent. Copy this URL somewhere - you will need it later.

  • JQL Query - a JQL query with the name of the Jira project to be synchronized with your Zephyr project. The project name is shown in the query only if you have mapped your Zephyr project to a Jira project. Copy this JQL query somewhere - you will need it later.
    Click Confirm after copying the strings:

To map a Jira project to your Zephyr project, select the needed Jira project from the Map external Defect project dropdown when creating or editing your Zephyr project. For more information, see Adding a Project.

Steps to perform in Jira

  1. Log in to Jira as an administrator.

  2. Navigate to Settings > Webhooks and click Create a WebHook:

  3. On the subsequent screen, specify a name for your webhook, make sure the Status is Enabled and paste the webhook URL and JQL query you copied earlier to the URL and Events fields respectively:

  4. Check the issue-related events and project-related events that will be traced by the webhook:

  5. Once done, click Create at the bottom of the page:

    Your webhook has been created:


See Also

Jira Integration
Setting up Jira Integration

  • No labels