Skip to content

Immutable reference baselines

Open saved content from the object

  1. In the web client, open a test case or requirement chapter and select History.
  2. Select a Reference baseline to open the saved contents of that object.
  3. Open the baseline's contents list for other objects. Use the controls below the table to page through long lists.

Capture and compare a baseline

  1. In Library or Requirements, open Immutable reference baselines and choose Create baseline.
  2. Enter a name and reason. Select the requirements and library scopes independently, then review and confirm the selection.
  3. Open the captured baseline and check its contents and files. Select Compare to see objects added, removed or changed in the current scope.

In Windows, Open reference baselines on the web on a library folder or requirement opens management with the scope preselected.

Adopt test cases from a project standard

  1. In Library, choose Project standards or Adopt reference baseline. Choose a source project, a readable baseline, a target folder and the normal test cases or units to adopt.
  2. Review the preview for paths, name collisions and blockers. For new objects, allow duplicate names, skip or rename. Skipping a colliding unit skips its subtree.
  3. When updating an existing adoption, local changes are kept by default. Choose Replace local changes only for cases you have reviewed, then refresh the preview.
  4. Confirm Adopt and check the local cases in the receipt. The corresponding version appears in History. Origin and update compares the case with a baseline you select from the source.

MCP and REST

REST provides the operations under /api/v1/operations. MCP tools are ztm_library_baseline_options, ztm_library_baseline_list, ztm_library_baseline_read, ztm_library_baseline_compare and ztm_library_baseline_asset. The file response limit is 512 KiB. Use the protected web download for larger files.

Use project.library-baseline.create with ztm_project_action_prepare and ztm_project_action_commit. Supply name, reason, scope, operationId and scopeConfirmed. An empty requirementType and 0 for requirementId or testUnitId select the entire relevant area. Specific requirement scopes use ReqFolders, ReqDocuments or ReqChapters. Review the preview before confirming. Reuse operationId for an exact retry.

{
  "name": "Checkout before revision",
  "reason": "Jointly confirmed reference point for the revision",
  "scope": { "requirementType": "", "requirementId": 0, "testUnitId": 0 },
  "operationId": "b7830698-beb9-4a89-a3c3-cf1a07543ee9",
  "scopeConfirmed": true
}

For standards, use ztm_project_standards_lookup to list choices, ztm_project_standards_compare to compare and ztm_project_standards_preview to preview. Apply the same reviewed selection through the project.standards.apply write capability. Read receipts, origin and adopted cases with ztm_project_standards_receipt, ztm_project_standards_origin and ztm_project_standards_imported.

Prerequisites and permissions

Enable Reference baselines in the project. An administrator or project manager with permission to edit settings can capture a baseline when the entire scope is readable. Reading checks current access to all captured sources. Entries can disappear from History when access is revoked. Only project administrators can read the baseline after a source disappears or the project identity changes.

A baseline keeps the selected contents immutable, including inherited content and saved files. It serves as a reference. Approval is a separate decision. External links remain references. Include historical files in the project backup. The limits are 100 MB per file and 256 MB per baseline. A deleted scope root counts as empty in the comparison. Requirement chapters show baselines in History. Test cases also show versions.

Adoption requires source access and write permissions at the destination. You can select up to 200 resolved units and cases. Quick cases and variants with active test data bindings are excluded. The preview flags contents that cannot be transferred. Windows can use adopted cases normally. Adoption and comparison take place in the web client.