Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,794
Community Members
 
Community Events
168
Community Groups

Issue with TestExecution Level Defect Count in X-ray Document Generator Custom Template

Hi All,

As per my project requirement need to create test execution report though X-ray Test Management. For the same i have generated customize document template using document generator. It give me all the test execution component level detail Except list of total defects associated against each test executions component. To get this defect list i have wrote following customize code.

  • Test Execution - ${Key} - Defects List

#{if (%{${TestRunsCount}===0})}

None

#{end}

#{if(%{${TestRunsCount}>0})}

#{for i=TestExecution[n].TestRunsCount}

${TestExecution[n].TestRuns[i].ExecutionDefects}

Link:{@title=${TestExecution[n].TestRuns[i].ExecutionDefects[e].Key}|href=${BaseURL}/browse/${TestExecution[n].TestRuns[i].ExecutionDefects[e].Key}}

Summary:${TestExecution[n].TestRuns[i].ExecutionDefects[e].Summary}

Status:${TestExecution[n].TestRuns[i].ExecutionDefects[e].Status}

#{end}

#{end}

This was not return any result, Please anyone help me out to correct this code ?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,085 views 18 32
Read article

Atlassian Community Events