Page History
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.
...
The goal of this page is to describe the effects of archiving issues on Xray.
Table of Contents |
---|
...
Archiving Test Executions
...
Info |
---|
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. |
...
- 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 a Test Executions Execution will also archive its Test Runs.
...
- 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
- No longer used for the calculation of the Test Run Status and Requirement Status
- Omitted from the Test Runs section in the Test and Test Execution issue view (including Overall Execution Status bar)
- Hidden from the execution inner tables in the Tests section of the Test Plan
- No longer used for the calculation of the Test Run Status and Requirement Status
- Hidden Excluded from Xray built-in reports and gadgets
- Hidden from document generator exports
...
Test Runs archived via Test Execution issue can be restored at any time by restoring the Test Execution issue.
...
Archiving Tests
Archived Test issues:
- No longer participate in the calculation of Requirement Status
- 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 1
- Are hidden from Test Repositories and Test Plan Boards
- Are hidden excluded from Xray built-in reports, gadgets and document generator exports
- No longer appear in search results from Xray JQL functions
Archiving Tests a Test will also archive its Test Runs.
Archiving Test Runs
Archiving a Test issue also automatically archives its will also archive its related Test Runs with the same effects described previously when archiving via Test Execution issue.
Test Runs archived via Test issue can be restored at any time by restoring the Test issue.
...
Archiving Test Plans
Archiving Test Plans will hide them from:
- Test Plans section in the Test issue view 1
- Xray built-in reports, gadgets and and document generator exports
- Search results from from Xray JQL functions
Archived Test Plans will also no longer be used as scope for the Test Run Status and Requirement Status.
...
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 Requirement R that was NOK in the scope of TP will be UNCOVERED for the same scope TP.
...
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.
...
Archiving Requirements
Archived requirements Requirements will be excluded from:
- Xray built-in reports and and gadgets
- Document generator exports exports
- Search results of of Xray JQL functions
Archiving requirements Requirements will also archive their Sub-Test Executions.
...
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.
...
Archiving Test Sets and Pre-Conditions
...
Archived Test Sets and Pre-Conditions will be excluded from:
- Xray Xray reports and and gadgets
- Document generator exports exports
- Search results of of Xray JQL functions
- Test Sets and Pre-Condition sections in the Test issue view 1
...
Archiving Projects
When archiving a Project all its issues are archived as well, this includes including the Xray issuesones.
The effects on Jira and Xray of project archiving will be the same as archiving issues.
If For example, the archived issues will no longer be present on JQL results and if Test or Test Executions are found, Xray will also 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
...
language | sql |
---|---|
title | PostgreSQL |
collapse | true |
...
, namely its Test Runs.
Impact on Xray Issue Links
Info |
---|
This section refers to the Xray custom issue links only (e.g. Tests associated with Pre-Conditions, with Test Sets, etc.) and not to the Jira native issue link featurelinks. |
Archiving issues do not archive the associations between Xray issues: for instance an active Test issue is still associated with an archived Test Set issue.
Whenever issues are archived, those will no longer be present on JQL search results.
Due to the fact that However, due to the fact that archived issues are no longer present on Lucene indexes and some Xray Issue Data Table components used to display information about the issue links , used for presentation of Xray issue associations, are built on top of JQL searches , these will no longer show the archived associated issues.and that archived issues no longer appear in those search results, the links will no longer be shown in some issue views. Because of that, there is no way to know if an issue is still linked to an archived one.
Whenever this Whenever that happens, a warning message will be displayed at the top of the affected Xray Issue Data Table informing that some associated issues are being hidden from the UI. The below image shows an example of the Test Sets section in a Test issue view after archiving one of its related Test Sets.