Zephyr for Jira Cloud exposes its data via a REST APIs which allows you to access the data programmatically and build your own integrations. You can use the API to:

For example, you could build an integration that would create a test in a separate tool/system and add it to Zephyr for Jira Cloud or create an test execution cycle and update the status of a test execution run after its has been executed in an automation tool.

Previously, to access Zephyr for Jira Cloud REST API you had to install an additional plugin (ZAPI). As of August 2020, the API is available out-of-the-box, and the ZAPI plugin is no longer needed.

Reference

Interactive API documentation is available at the following link, along with code examples for cURL, C#, JavaScript, Python, and other languages.

https://zfjcloud.docs.apiary.io

The API provides the following capabilities:

To create, run, and manage Test Automation jobs, use the Test Automation API instead.

Base URL

The base URL for API calls is:

https://prod-api.zephyr4jiracloud.com/connect

For example, POST /public/rest/api/1.0/attachment means a POST request to https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/attachment.

Authentication

The API uses JWT tokens for authentication. All requests must include the following headers:

zapiAccessKey: YOUR_ACCESS_KEY
Authorization: JWT GENERATED_JWT_TOKEN

where:

JWT tokens are generated using several pieces of information, including the API endpoint you want to call, and query parameters (if any). This means that to call multiple different endpoints or call the same endpoint but with different query parameters you must generate a new JWT token for each API call.

JSON requests

Most operations that accept a request body expect it in the JSON format.

POST and PUT request containing a JSON request body must include the Content-Type header:

Content-Type: application/json

Rate limits

Remarks

Got questions?

Ask your questions in the Zephyr for Jira Cloud community, or contact Support for assistance.

See also

Test Automation API