Migration Scripts

When migrating complex sets of data from a different test management tool or Excel document, Zephyr Scale’s self-service import options may not meet your specific needs. In this event, we have a REST API with an extensive list of endpoints for tasks such as creating new test results and retrieving test cases. This allows you to seamlessly import your data into Zephyr Scale by pulling data from a file source, making any relevant changes, and then using the API to push the data to Zephyr Scale.

The following sections present sample migration scripts that use Zephyr Scale’s REST API:

Migrate test cases with custom fields

Migrate test cases with attachments

Migrate test-execution results

Migrate test cases with custom fields

This script takes a list of test cases with custom fields and creates new test cases in Zephyr Scale that include the custom fields.

Note

Custom fields must be created in Zephyr Scale prior to running the migration script.

Migrate test cases with attachments

This script takes a list of test cases with attachments and creates new test cases in Zephyr Scale with the attachments included.

Migrate test-execution results

This script takes a list of test cases and creates a new test case in Zephyr Scale for each one, prior to creating any executions related to any test case.

See Also

Publication date: