---
title: "Historical Requirement Coverage Report"
canonical: "https://docs.getxray.app/space/XRAY/301471706/Historical%20Requirement%20Coverage%20Report"
format: markdown
---
Shows a daily historical view of Requirements coverage. It is possible to see the evolution of the Requirement's coverage status over time for a particular** ****Analysis Version **(or** Test Plan**) and** Test Environment**. 

![image](media://b2d074db-95b1-487e-bff9-6e54d67818a1)

> ⚠️ **Please note**
> ⚠️ 
> ⚠️ To use this report, your project must have the <span style="color: #000000">Requirement Coverage enabled. See how in </span>[<span style="color: #000000">Configure JIRA project to be used as Requirements project</span>](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301406021)<span style="color: #000000">.</span>


> Macro (toc)

# Purpose

This report allows users to evaluate the progress of the requirement coverage status, which implicitly takes into account the testing results associated with each requirement.

# How to use

This report is either accessible from **Xray Reports** icon on the project left sidebar or from the standard **Reports** icon, which includes other kinds of reports besides Xray. 

At the top of the report you'll find several areas related with the report and with the data shown in the report.

![image](media://e3c4f08b-4b4b-4c6e-a387-b9dcd8a74c14)

- **A**: Analysis & Scope, for choosing how to analyze the entities
- **B:** Group by, for defining how to visually group/aggregate items
- **C**: Filter, for selecting the source data
- **D****: **Data range
- **E**: Visualization information and options

You need to configure the source data (i.e., the requirements) for the chart and how to calculate the requirement status for each. 

## Source data

Source "requirement" issues can be directly provided (within section C) <span style="color: #172b4d">using the requirement fields configured in the</span><span style="color: #172b4d"> </span>*Basic*<span style="color: #172b4d"> </span><span style="color: #172b4d">tab or the JQL written in the</span><span style="color: #172b4d"> </span>*Advanced*<span style="color: #172b4d"> </span><span style="color: #172b4d">tab.</span>

By default, the *Basic* tab provides the following fields: 

- **Project**: S<span style="color: #172b4d">elect multiple projects to analyze </span>**<span style="color: #ff6600">(Only available in Xray Enterprise)</span>**
- **Fix Version**: Version assigned to requirements
- **Sprint (Only if Jira Software is installed): **Sprint assigned to requirements
- **Component:** Components assigned to requirements
- **Status: **The Issue's workflow status
- **Resolution:** The Issue's workflow resolution
- **Contains text:** Filter requirements by text

![image](media://7b5d1881-3b0c-4af2-a9c9-425a742e6d15)

By clicking on *More*, it's possible to manage which fields will be used to filter the requirements:

- Selecting fields will enable to filter further the requirements
- Unselecting fields will remove them from the search criteria

> ℹ️ The default fields cannot be removed from the dialog

> Macro (inline-media-image)

> Macro (inline-media-image)



Alternatively to the *Basic*, the *Advanced* tab offers the possibility of filtering the requirements via JQL:

> Macro (inline-media-image)

> Macro (inline-media-image)



If you wish, you can clear the filter in order to see all Requirements once again. You can do this by clicking on the *Clear* button and then press *Apply*.


There is also an options menu (within section E) where you can choose the visualization type for the report:  

- **hierarchical - **only the parent requirement issues will be presented in the report, if the filter includes them. Sub-requirements can still be visualized in the overall details table.
- **flatten - **the requirement issues will not consider the parent/child relationship. All parent and child requirements will be considered and showed similarly in the report.

![image](media://ba2e2d2c-9d59-4b0d-a549-76b819c508b5)

## Analysis

On the left side (within section A), it's possible to define the <u>analysis strategy</u>, i.e., the way you want to analyze the selected/filtered requirements. You can choose to analyze either by **Version** or **Test Plan, **and complement it with a** Test Environment.**

If you choose analysis by **Version**, then the latest results from Test Executions for the specified version are taken into account. If you choose **Test Plan**, only Test Executions (and related results) associated with the given Test Plan are considered in the calculation of the requirement status.

If the Test Environment is specified, then only the executions that ran in the specified environment are considered. 

![image](media://a950b304-caf5-4520-9a7c-a2de422bee68)

> ℹ️ **Tips**
> ℹ️ 
> ℹ️ For more information, please see [Coverage Analysis](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301662486) and [Understanding coverage and the calculation of Test and requirement statuses](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301669557).


The user can also enter a time period (within section D) to analyze the daily coverage of requirements.


> ℹ️ **Please note**
> ℹ️ 
> ℹ️ Some Xray global settings may affect the report (e.g. ["Requirement Coverage Strategy", ](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301504155)[Ignore Requirements with statuses", "Ignore Requirements with labels", "Ignore Tests with status"](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301504155))


# Example

This graphical report is composed of two similar vertical stacked bar charts: one showing absolute values and the other showing relative percentage normalized values. Both charts are interactive. Hovering over the different bars shows a small popup with information about the specific series (Status~Grouping, Date and Percentage/Value).  You can deactivate a particular series by clicking in the series legend.

Each chart column shows the Requirement coverage status for a given day. Each status has a different color and is divided by Requirement Grouping with a gradient.

![image](media://a3df2d48-9561-411a-a9b6-9e0e6fb0d5aa)

# Sharing the Report

The report can be shared by copying and sending the URL located in the browser's address bar.

When opening the report, the Analysis & Scope, Filter, Group by, Date range and Requirement Presentation options will be automatically populated with the values provided in the URL.