Page History
...
Most of the following reports are made using the "Filter Results" JIRA Jira gadget, which returns issues in a table layout.
The "Pie Chart" and the "Two Dimensional Two-Dimensional Filter Statistics" are also two interesting gadgets that may be used for building reports.
Independently Regardless of the gadget you use, the important aspect is filtering out to filter the relevant issues and this . This may be obtained using JQL (see Enhanced querying with JQL).
A There is a special note related with regarding custom fields (e.g., "TestRunStatus", "Test Set Status") whose behavior depends that depend on the Xray's configuration and not the JQL query.
Info | ||
---|---|---|
| ||
You can also do also generate reports using the Xporter add-on, as mentioned Xporter app detailed in Reports with Xporter. |
Sample reports
List of Requirements, with coverage info
Lists requirements with current coverage status , based on latest the most recently executed testsTest.
Gadget used: Filter Results
Sample JQL for: list List requirements of project "CALC" for version "v3.0".
No Format |
---|
project = CALC AND issuetype = Story and fixVersion = "v3.0" |
...
Sample JQL for: list List requirements of project "CALC" of a previous version "v3.0", which are NOK in the newer version "V4.0"
No Format |
---|
project = CALC AND issuetype = Story and fixVersion = "v3.0" and issue in requirements('NOK', 'CALC', 'V4.0') |
...
List of Tests
Lists tests for a given project version.
Gadget used: Filter Results
Sample JQL for: list List Tests for project "CALC", version "v1.0".
No Format |
---|
issuetype = 'Test' and issue in testsWithReqVersion('CALC', 'v1.0') |
Sample JQL for: list List Tests for Test Sets, of project "CALC", that have fixVersion "v1.0".
...
If you want to include the Test status, then you just need to add the TestRunStatus column "TestRunStatus" in the gadget's configuration.
List of Test Sets, with status
Lists test sets for a given project version.
Gadget used: Filter Results
Sample JQL for: all All Test Sets of project "CALC"
No Format |
---|
project = 'CALC' and issuetype = 'Test Set' |
...
Sample JQL for: all All Test Sets of project "CALC" explicitly marked with fixVersion "1.0"
No Format |
---|
project = 'CALC' and issuetype = 'Test Set' and fixVersion = 'v1.0' |
...
If you want to include the Test status, then you just need to add the column "Test Set Status" column in the gadget's configuration.
List of Test Executions, with status
Lists Test Executions for a given project version.
Gadget used: Filter Results
Sample JQL for: all All Test Executions of project "CALC" that ran in version "v3.0", build (i.e., Revision) 100.
No Format |
---|
project = 'CALC' and issuetype = 'Test Execution' and fixVersion = 'v3.0' and Revision ~ 100 |
...
Sample JQL for: all All Test Executions of project "CALC", latest ones executed first.
No Format |
---|
project = 'CALC' and issuetype = 'Test Execution' ORDER BY created DESC |
...
Additional columns can be appended to this gadget like:
- Begin date: the planned begin date for the start of the execution
- End date: the due date for the execution completion
- Test Execution Status: shows the last execution status for all the Test issues in the Test Execution
...
List of Test Plans, with status
Lists Test Plans, optionally for a given project version.
Gadget used: Filter Results
Sample JQL for: all All Test Executions of project "CALC" that ran in version "v3.0", build (i.e., Revision) 100.
No Format |
---|
project = 'XRAYF' and issuetype = 'Test Plan' |
...
Tests to be executed by a user
Lists tests to be executed by a given specific user.
Gadget used: Filter Results
Sample JQL for: list List Tests that are yet to be executed (i.e., in TODO status TODO) by user "admin"
No Format |
---|
issuetype = 'Test' and issue in testExecutionTests('Calculator Test Executions', 'TODO', 'admin') |
...
If you want to include the Test status, then you just need to add the TestRunStatus column "TestRunStatus" in the gadget's configuration.
Test distribution by status
Tests distributition distribution by status (percentage and absolute values).
Gadget used: Pie Chart
Statistic Type: "TestRunStatus"
Test distribution by test type
Tests distributition distribution by status (percentage and absolute values).
Gadget used: Pie Chart
Statistic Type: "Test Type"
Test distribution by component
Display percentage and absolute number of tests , per component.
Gadget used: Pie Chart
Statistic Type: Component
Sample JQL for: test Test distribution based on the component assigned to the Test itself.
No Format |
---|
project = 'CALC' and issuetype = 'Test' |
...
Test status grouped
...
by assignee
Number of Tests , per Test status, based on latest run , and grouped per assignee of the Test Execution itself by assignee.
Gadget used: Two Dimensional Two-Dimensional Filter Statistics
Test status grouped per component
Number of Tests , per Test status, based on the latest run , and grouped per by component
Gadget used: Two-Dimensional Filter Statistics