Skip to content

Recycle bin

After deleting an item covered by the recycle bin in the web client, select Undo in the notification within ten seconds to bring it back.

To restore it later, open Recycle bin in the project navigation. Select View contents to inspect the item, then Restore to return it to its original location or Choose destination if the location is missing. If the name is taken, the restored item gets a suffix such as “(restored)”. The receipt lists skipped test plan references.

If the original environment for a test run is missing, choose an available test environment. The list shows the test plan each environment belongs to. The run keeps its test cases and results.

If a linked object is missing, the test run, test plan, or planning folder stays in the recycle bin. Restore the original linked object first, then try again.

If the run for an existing retest request is in the recycle bin, restore it. Resubmitting the same request while the run is in the recycle bin leaves the original run as the only one.

MCP and REST

Use your personal project key with ztm_trash_read for the list (optional limit and after) or for contents (entryId). If the original location is gone, use destinationSearch to look up replacement destinations. ztm_trash_restore requires the project.trash.restore write scope. Send entryId with mode: "preview" first, then confirm with mode: "restore" and the same values. To select a replacement, provide destination with kind, id, and the existing target’s uniqueId. The REST API uses POST /api/v1/operations/{toolName}. Permanent deletion is available in the web interface.

Limits and permissions

You need read access to the original location and create access at the destination. Project administrators and project managers can choose an alternative destination and see child item names. Only project administrators can permanently delete entries or empty the recycle bin.

The default retention period is 30 days. In User interface settings, set 7 to 365 days for new entries. Server administrators can configure Clean up recycle bin in the server schedules. If the project has no cleanup schedule, the web client removes expired entries when you open the recycle bin.

In Windows, right-click the library root and select Open recycle bin on the web. Deleting in Windows is permanent. In the web client, the recycle bin covers test cases, test units, requirement folders, documents, chapters, test runs, test plans, and planning folders.

Imported result runs are read-only. Their test plans and parent planning folders cannot be deleted either.