You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

Xray Integrity Checker allows the user to check and fix invalid or duplicated values in the Xray plugin data and to clear Xray calculated custom fields.

Integrity Checker

This section allows the user to fix invalid Xray values that are stored in the database.

Test Runs

In this section the user can check and fix invalid or duplicated Test Runs.

Test Steps

In this section the user can check and fix invalid Test Steps and Mementos. Mementos is a copy of a Test Run so that when a Test is changed the Test Run keeps the state prior to the Test changes.


In this section the user can check and fix Invalid Issue Links. This invalid issue links can be links can be of type Test Set <-> Test and Test <-> Precondition.


Calculated Custom Field Values

Starting from version 2.0.0 of Xray for JIRA, the following Xray custom fields are calculated upon any change. This means the value for the custom fields is stored instead of calculated on the fly. This improves performance considerably for several Xray screens and queries.

Because JIRA does not provide the appropriate mechanisms and notifications for certain events (like issue link events https://jira.atlassian.com/browse/JRA-8505), Xray needs to intercept all requests that might change links and perform the appropriate calculations on it's custom fields. Despite our best effort, there might be certain use cases where the custom fields are not updated, resulting in out of date values. When this happens we provide the ability to remove the value of all custom fields in this page. The value will then be calculated upon fist access, or when a JIRA re-index operation is performed.

Besides being able to clear the custom field values from this page Xray also provides some bulk operations for:

  • Resetting the value of the "Requirement Status" custom field on Requirement issues
  • Resetting the value of the "TestRunStatus" custom field on Test issues

Additionally, Xray provides some specific issue operations that allow to clear the custom field values individually:

  •  Resetting the "Requirement Status" custom field for a Requirement issue.
  •  Resetting the "TestRunStatus" custom field for a Test issue.
  •  Resetting the "Test Execution Defects Count" custom field for a Test Execution and Sub-Test Execution issue.

This section allows the user to clear calculated custom fields that the Xray add-on provides. The Calculated custom fields that the user can clear are:

  • Requirement Status Cache

Cache that contains all the Requirement Status that were previously calculated

  • Test Run Status Custom Field 

Calculated Custom Field that has the Test Run Status for a Test

  • Manual Steps Count Custom Field

Calculated Custom Field that has the number of Manual Steps of a Test

  • Test Set Test Count and Test Plan Test Count

Calculated Custom Field that has the number of Test Sets and Test Plans of a Test

  • Test Execution Defects Custom Field

Calculated Custom Field that has the number of defects created in the context of a Test Execution

 

  • No labels