How to get a Pass/Fail/etc. status at the Test Case level?

Ryan P. June 23, 2023

In creating a Dashboard, I select this option:

overall_test_res_gadget.png

I then configure it to use a filter of Test Cases, and the resulting pie chart looks like below. The total count (200) matches the number of Test Cases in the filter, so I know that's a view of Test Cases, however I cannot find a way to show those statuses on a Test Case report. In reality, those statuses actually align to Test Runs, and my assumption is that the pie chart is taking the status of the latest Test Run on any given Test Case to derive the Test Case status in this form. Does anybody know the field name of that status so I can use it in a tabular report? Or is it possible it's calculated on the fly and not available elsewhere? If I choose Status in a tabular report, I only see Open/Closed values (the true Test Case-level Status), and that's not what we are interested in.

pie_chart.png

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2023

Welcome to the Atlassian Community!

What field are these test status being held in?  Is it the Jira system's built-in status, or a custom field?

Ryan P. June 26, 2023

Unfortunately I'm not sure--that's what I'm trying to figure out. I'm not even sure if the value is being stored, or if it's being derived on the fly. Unless you're asking about at the Test Run level--then I believe it's the Status field.

As an example, if Test Case A had three Test Runs, and the status of those Runs (in chronological order) were Failed, Failed, and Passed, this Dashboard seems to be resolving the Test Case status to Passed. I'd rather have that in a report (like a two-dimensional report), but I can't seem to find the field at the Test Case level.

Ryan P. June 26, 2023

I have actually since found it is also available in a Report, but I need it in a Dashboard and am not able to find it there. In the Report (a Test Lists report), the field name is Status, but so is the actual Test Case Status (I want the Status on the right in the Dashboard, not the Status on the left):

two_statuses.png

 

Interestingly though, the field is not shown in the Columns dropdown (only the one Status field is shown...this leads me to believe maybe it's calculated on the fly and not actually a field I can access on the Dashboard):

columns.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events