Page History
Table of Contents minLevel 2
The Integrity Checker allows you to check and fix invalid or duplicated values in the Xray data. It also enables you to clear Xray-calculated custom fields, import automated steps from existing issues to the Automated Steps Library and fix integrity of Test Repositories and Test Plan Boards.
Integrity Checker
...
You can check and fix Invalid Issue Links. These links can be of type Test Set <-> Test and Test <-> Precondition.
Archived and unarchived entities
You can check and fix invalid archived and unarchived entities (Test Runs and Tests in Test Repositories and Test Plan Boards).
An invalid archived Xray entity is the one whose Jira issue is active and an invalid unarchived Xray entity is the one whose Jira issue is archived.
Example of incoherent states fixed by these options:
- A Test Run is wrongly archived if the Test Execution and Test issues are active
- A Test Run is wrongly unarchived if the Test Execution and Test issues are archived
- An archived Test should never be displayed in the Test Repository
Calculated Custom Field Values
...
Due to errors or misusage, a Test Repository may end up with references to Issues that are no longer Tests of that project, or, in the case of a Test Plan Board, references to issues that are no longer Tests of that Test Plan. These errors can be fixed in this section and you may select the repository types you want to fix.
Cluster Lock
The cluster lock mechanism was designed to work with statically-named locks. The implementation stores each lock in the database permanently. Therefore using dynamically generated lock names, such as "lock_for_task_" + taskId, causes rows to pile up in large numbers in the clusterlockstatus table, and there is no mechanism to prune them. So, in certain circumstances, you can prune them:
- Having more than 100.000 cluster locks created by Xray and having the com.xpandit.raven.clearClusterLockOnIntegrityChecker dark feature enabled.
You can find more info here: Usage tips to improve performance on Data Center Tips