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

Compare with Current View Page History

« Previous Version 51 Next »

Jira Datacenter supports archiving of issues and projects since v8.1. By archiving issues, Jira will remove them from the indexes. The archived issues will still be accessible in read-only mode, however, they will not appear in search results. This enhances Jira performance because it stores less data in the indexes.

As many of the Xray entities are normal Jira issue objects, archiving its issues has the same effect of archiving any other Jira issue type. But additionally, Xray extends this feature by archiving some of its internal data.

The goal of this page is to describe the effects of archiving issues on Xray.

What happens when Test Executions are archived?

Archiving Test Execution issues will hide them from:

  • Test Executions section of the Test Plan issue view
  • Xray built-in reports and gadgets
  • Document generator exports
  • Search results from Xray JQL functions

Archiving Test Executions will also archive its Test Runs.

Archiving Test Runs

Archiving a Test Execution issue automatically archives its related Test RunsDoing so will not delete the Test Run information from database, instead they will be:

  • Read-only: You will still be able to navigate into the execution page and see the execution results but will not be able to edit
  • Omitted from the Test Runs section in the Test and Test Execution issue view (including Overall Execution Status bar)
  • No longer used for the calculation of the Test Run Status and Requirement Status
  • Hidden from Xray built-in reports and gadgets
  • Hidden from document generator exports

A message will be shown in the Test, Test Execution issue view informing there are archived Test Runs:

And also in the execution page:

Test Runs archived via Test Execution issue can be restored at any time by restoring the Test Execution issue.

Archiving old Test Executions is a good use case for archiving Xray issues, especially if continuous integration processes are used. These can quickly create many Test Execution issues while importing new execution results into Xray on a daily basis. These issues are good candidates to be archived.

What happens when Tests are archived?

Archived Test issues:

  • No longer participate in the Requirement Status calculation
  • Are no longer taken in account in the Test Coverage
  • No longer appear in the Tests section in the Test Plan (including Overall Execution Status bar), Test Set and Pre-Condition issue view 
  • Are hidden from Test Repositories and Test Plan Boards
  • Are hidden from Xray built-in reports, gadgets and document generator exports
  • No longer appear in search results from Xray JQL functions

Archiving Tests will also archive its Test Runs.

Archiving Test Runs

Archiving a Test issue also automatically archives its related Test Runs with the same effects described on the previous section.

Test Runs archived via Test issue can be restored at any time by restoring the Test issue.

What happens when Tests Plans are archived?

Archiving Test Plans will hide them from:

  • Test Plans section in the Test issue view 
  • Xray built-in reports, gadgets and document generator exports
  • Search results from Xray JQL functions

Archived Test Plans will also no longer be used as scope for the Test Run Status and Requirement Status.

Effects in the Test Run and Requirement status scope

Archived Test Plans are no longed used as scope for the Test and Requirements status custom fields, which affects the scope analysis of Requirements and Tests: After archiving a Test Plan TP, a given requirement R that was NOK in the scope of TP will be UNCOVERED for the same scope TP.

Another effect of not being used as scope is that the Latest Statuses of Tests under a Test Plan issue will not be shown anymore. For this reason, when archiving a Test Plan, a message will be displayed informing of the situation:

An archived Test Plan issue can be restored anytime, doing so will retrieve the Test Plan state prior to archiving and all of the Test Plan-scoped statuses for Tests and Requirements.

What happens when Requirements are archived?

Archived requirements will be excluded from:

  • Xray built-in reports and gadgets
  • Document generator exports
  • Search results of Xray JQL functions

Archiving requirements will also archive their Sub-Test Executions.

Archiving Sub-Test Executions

Each issue is archived along with all its subtasks.

In case a Requirement is archived, its Sub-Test Executions will be archived as well. A Sub-Test Execution has the same functionalities of a Test Execution so archiving them have the same effect as archiving a Test Execution issue, namely all its Test Runs will be archived.

What happens when Test Sets and Pre-Conditions are archived?

Archived Test Sets and Pre-Conditions will be excluded from:

  • Xray reports and gadgets
  • Document generator exports
  • Search results of Xray JQL functions
  • Test Sets and Pre-Condition sections in the Test issue view

What happens when Projects are archived?

When archiving a Project all its issues are archived as well, this includes the Xray issues.

The effects on Jira and Xray will be the same as archiving issues.

Namely, if Test or Test Executions are found, Xray will archive their Test Runs. This can be a long running task depending on the amount of Xray internal data to handle.

Currently, Jira provides no way of knowing the progress of a project archival blablablablabla TODO


  • No labels