Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The table below presents some information you may obtain and how to perform it using Jira automation smart values/expressions. Please see the code snippets above to see how additional information.


Information to obtainJira Automation smart valuesNotes
Total Tests{{Test Execution Status.count}}
Number of tests passing (i.e., reported as "Pass"){{Test Execution Status.statuses.get(0).statusCount}}

A more accurate expression would be:


{{#issue.Test Execution Status.statuses}}{{#if(equals(name,"PASS"))}}{{statusCount}}{{/}}{{/}}

Number of failed tests (i.e., reported as "FAIL")

{{Test Execution Status.statuses.get(1).statusCount}}

A more accurate expression would be:


{{#issue.Test Execution Status.statuses}}{{#if(equals(name,"FAIL"))}}{{statusCount}}{{/}}{{/}}

Test Environments{{issue.Test Environments}}
Linked Test Plan(s) {{issue.Test Plan}}

References

...