Setting up Jira Integration

Establishing Connection between Zephyr and Jira

For Zephyr and Jira to exchange data, they should be accessible to each other through the network. This is especially important if you use an On-Premises (Server) instance of Zephyr and a Cloud instance of Jira, or vice versa. You may need to configure proxies and firewalls working in your network to provide the connection. See Connection Between Server and Cloud Instances.

1. Configure connection to Jira

The connection to Jira you set up in Zephyr Enterprise can use either a Personal Access Token (PAT), OAuth, or Basic authentication (Basic authentication is called cookie-based authentication in Zephyr UI).

The connection type you use depends on the Jira instance type you use.

Follow the links below to learn how to configure the connection parameters:

Jira Cloud

Jira Server / Data Center

Tip

Basic authentication is simpler, but OAuth 2.0 is more secure. We recommend using OAuth 2.0 connections where possible.

2. Configure your Zephyr project

After you have configured the Jira connection, you need to map your Zephyr project to a Jira project:

  1. Log in to Zephyr Enterprise as a user with administrator permissions. Then, go to Administration > Project setup settings:

    2292089202.png
  2. Select your project on the Project setup tab and move through the page down to the Edit Project section.

  3. In the Requirements & Defect Tracking box, select the Jira connection you created in the previous step.

    2292089209.png

    Important

    Choose carefully. Selecting another defect tracker after you map Zephyr items to Jira tickets might be problematic.

  4. In the Warning dialog box, click Yes to confirm the connection.

  5. Zephyr will load a list of projects from your Jira instance and will show it in the Map external Defect project list (this list is invisible until you select a Jira instance for your project).

    Note

    If you rename your Jira project, the Jira project will be unmapped in Zephyr, and you will have to map it again.

  6. Click Reset Jira Project Cache to find your project in the list and reset the Jira project cache.

    This clears and rebuilds the cached project data related to Jira projects in ZE.

    Reset Jira Project Cache
  7. Select the Jira project from the Map External Defect project list to link it to your Zephyr project.

    Project Setup and Management
  8. Scroll down the page and click Save to save your changes.

The Zephyr project is mapped to a Jira project.

Note about webhooks

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

Webhooks can be created in two ways:

  • Zephyr automatically creates a pre-configured webhook when mapping a project in Zephyr. In this case, there is no need to perform additional actions, but you need to have a Jira account with special permissions (for example, Browse Projects). You can view the created webhook in Jira settings: go to (blue star) > System (under Jira Settings) > Webhooks (under Advanced).

    Important

    Don’t delete this webhook, and don’t change its properties. It has all the needed settings enabled. Later, you can update the webhook if required.

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

After you set up the integration, you may need to configure specific settings in Jira and provide better support for Jira custom fields:

(blue star)Jira Management Preferences

Proxy Support for Jira Cloud

OAuth and Basic authentication support using a proxy. To configure proxy support, set the proxyHost and proxyPort environment variables in the setenv.sh file. The application reads these values at runtime and uses them to configure the proxy. The proxy settings also apply to Jira DC.

Linux

Perform the following steps to configure proxy support on Linux:

  1. Stop Zephyr.

  2. Navigate to the bin directory in your Zephyr installation folder <zephyr installation directory>/tomcat/bin.

  3. Edit the setenv.sh file using the vi setenv.sh command.

  4. Add the following properties and the required values in the JAVA_OPTS line.

    -Djira.http.proxyScheme=https
    -Djira.http.proxyHost=proxyhost.yourzephyr.com
    -Djira.http.proxyPort=443
    -Djira.http.proxyUser=username
    -Djira.http.proxyPassword=password

    Note

    proxyhost.yourzephyr.com specifies the proxy server host, and the username and password are the proxy authentication credentials.

  5. Start Zephyr.

  6. Integrate Jira and verify in the dinc.log, using the following:

    2026-01-07 12:50:06.927 INFO  [jira-cache-builder] JiraBaseAuthentication.getClientHttpRequestFactory(128) | Found proxyHost: proxyhost.yourzephyr.com and proxyPort: 443 with scheme: https for jira.
    2026-01-07 12:50:06.927 INFO  [jira-cache-builder] JiraBaseAuthentication.getClientHttpRequestFactory(133) | Found proxy username and password for jira using them for authentication
    

    The proxy support for Linux is configured.

Windows

Perform the following steps to configure proxy support on Windows:

  1. Stop Zephyr.

  2. Open the Command Prompt as an administrator.

  3. Navigate to the bin directory in your Zephyr installation folder <zephyr installation directory>/tomcat/bin.

  4. Enter the following command:

    tomcat10w.exe //ES//ZephyrServer

    The Zephyr Server Properties dialog box appears.

  5. Select the Java tab and then add the following properties and values:

    -Djira.http.proxyScheme=https
    -Djira.http.proxyHost=proxyhost.yourzephyr.com
    -Djira.http.proxyPort=443
    -Djira.http.proxyUser=username
    -Djira.http.proxyPassword=password

    Note

    Here, proxyhost.yourzephyr.com is the proxy server host. Username and password are the proxy credentials.

  6. Start Zephyr.

  7. Integrate Jira and verify the integration in the dinc.log file using the following command:

    2026-01-07 12:50:06.927 INFO  [jira-cache-builder] JiraBaseAuthentication.getClientHttpRequestFactory(128) | Found proxyHost: proxyhost.yourzephyr.com and proxyPort: 443 with scheme: https for jira.
    2026-01-07 12:50:06.927 INFO  [jira-cache-builder] JiraBaseAuthentication.getClientHttpRequestFactory(133) | Found proxy username and password for jira using them for authentication
    

The proxy support for Windows is configured.

Important

Set the following required options:

  • Djira.http.proxyScheme=https

  • Djira.http.proxyHost=proxyhost.yourzephyr.com

  • Djira.http.proxyPort=443

Include the username and password only if authentication is enabled on the proxy.

See Also

View and configure Jira Connections in Zephyr Enterprise.

Jira Integration

Publication date: