&{for issues}

#{if (%{${BulkIssueIndex} == 0 && ${BulkIssuesCount} > 1})}

Bulk Details	Obtained value
Bulk Issue Count {BulkIssueCount}	${BulkIssuesCount}

#{end}

Test Execution Issue Details

Test Execution Details Mappings	Test Execution Details Contents
{title={Key}|href={BaseURL}/browse/{Key}}	@{title=${Key}|href=${BaseURL}/browse/${Key}}
{Summary|wiki=true}	${Summary|wiki=true}
{Description|wiki=true}	${Description|wiki=true}
{Begin Date}	${Begin Date}
{End Date}	${End Date}
{Revision}	${Revision}
Overall Execution Status {TODO} % {FAIL} % {PASS} % {EXECUTING} % {ABORTED} %	Overall Execution Status ${TODO} % ${FAIL} % ${PASS} % ${EXECUTING} % ${ABORTED} %
{TestRunsCount}	${TestRunsCount}

For Test Runs Details

#{for testruns}

Test Run Details Mappings	Test Run Details Contents
{TestRuns[n].Key} Details	${TestRuns[n].Key} Details
{title={TestRuns[n].Key}|href={BaseURL}/browse/{TestRuns[n].Key}}	@{title=${TestRuns[n].Key}|href=${BaseURL}/browse/${TestRuns[n].Key}}
{TestRuns[n].Summary|wiki=true}	${TestRuns[n].Summary|wiki=true}
{TestRuns[n].Description|wiki=true}	${TestRuns[n].Description|wiki=true}
{TestRuns[n].Test Type}	${TestRuns[n].Test Type}
{TestRuns[n].Cucumber Test Type}	${TestRuns[n].Cucumber Test Type}
{TestRuns[n].Steps}	${TestRuns[n].TestStepsCount}
{TestRuns[n].TestSetsCount}	${TestRuns[n].TestSetsCount}
{for ts=TestRuns[n].TestSetsCount} {TestRuns[n].TestSets[ts].Key} {end}	#{for ts=TestRuns[n].TestSetsCount} ${TestRuns[n].TestSets[ts].Key} #{end}
{TestRuns[n].Execution Status}	${TestRuns[n].Execution Status}
{TestRuns[n].ExecutionDefectsCount}	${TestRuns[n].ExecutionDefectsCount}
{for d=TestRuns[n].ExecutionDefectsCount} {title={TestRuns[n].ExecutionDefects[d].Key}|href={BaseURL}/browse/{TestRuns[n].ExecutionDefects[d].Key}} {TestRuns[n].ExecutionDefects[d].Summary|wiki=true} {end}	#{for d=TestRuns[n].ExecutionDefectsCount} @{title=${TestRuns[n].ExecutionDefects[d].Key}|href=${BaseURL}/browse/${TestRuns[n].ExecutionDefects[d].Key}} ${TestRuns[n].ExecutionDefects[d].Summary|wiki=true} #{end}
{TestRuns[n].RequirementsCount}	${TestRuns[n].RequirementsCount}
{for x=TestRuns[n].RequirementsCount} {title={TestRuns[n].Requirements[x].Key}|href={BaseURL}/browse/{TestRuns[n].Requirements[x].Key}} {TestRuns[n].Requirements[x].Summary|wiki=true} {end}	#{for x=TestRuns[n].RequirementsCount} @{title=${TestRuns[n].Requirements[x].Key}|href=${BaseURL}/browse/${TestRuns[n].Requirements[x].Key}} ${TestRuns[n].Requirements[x].Summary|wiki=true} #{end}
Test Run Execution Details Mappings	Test Run Execution Details Contents
{TestRuns[n].Execution Status}	${TestRuns[n].Execution Status}
{AssigneeId}	${AssigneeId}
{TestRuns[n].Executed By}	${TestRuns[n].Executed By}
{TestRuns[n].Started On}	${TestRuns[n].Started On}
{TestRuns[n].Finished On}	${TestRuns[n].Finished On}
{TestRuns[n].Comment|wiki=true}	${TestRuns[n].Comment|wiki=true}
{var total={TestRuns[n].ExecutionDefectsCount} + {TestRuns[n].TestStepsDefectsCount}; var total2=’’+total;var totalParts= total2.split(‘.’); totalParts[0];} Defects Detected running Test {TestRuns[n].Key} on Test Execution {Key}	%{var total=${TestRuns[n].ExecutionDefectsCount} + ${TestRuns[n].TestStepsDefectsCount}; var total2=’’+total;var totalParts= total2.split(‘.’); totalParts[0];} Defects Detected running Test ${TestRuns[n].Key} on Test Execution ${Key}
{TestRuns[n].ExecutionDefectsCount}	${TestRuns[n].ExecutionDefectsCount}
{TestRuns[n].TestStepsDefectsCount}	${TestRuns[n].TestStepsDefectsCount}
{title={TestRuns[n].PreCondition.Key}|href={BaseURL}/browse/{TestRuns[n].PreCondition.Key}}	@{title=${TestRuns[n].PreCondition.Key}|href=${BaseURL}/browse/${TestRuns[n].PreCondition.Key}}
{TestRuns[n].PreCondition.Summary|wiki=true}	${TestRuns[n].PreCondition.Summary|wiki=true}
{TestRuns[n].PreCondition.Pre-Condition Type|wiki=true}	${TestRuns[n].PreCondition.Pre-Condition Type|wiki=true}
{TestRuns[n].PreCondition.Conditions|wiki=true}	${TestRuns[n].PreCondition.Conditions|wiki=true}
{TestRuns[n].ExecutionEvidencesCount}	${TestRuns[n].ExecutionEvidencesCount}
{for d=TestRuns[n].ExecutionEvidencesCount} {TestRuns[n].ExecutionEvidences[d].Name} {TestRuns[n].ExecutionEvidences[d].Author} {title={TestRuns[n].ExecutionEvidences[d].FileURL}|href=${TestRuns[n].ExecutionEvidences[d].FileURL}} {TestRuns[n].ExecutionEvidences[d].Size} #{end}	#{for d=TestRuns[n].ExecutionEvidencesCount} ${TestRuns[n].ExecutionEvidences[d].Name} ${TestRuns[n].ExecutionEvidences[d].Author} @{title=${TestRuns[n].ExecutionEvidences[d].FileURL}|href=${TestRuns[n].ExecutionEvidences[d].FileURL}} ${TestRuns[n].ExecutionEvidences[d].Size} #{end}
{TestRuns[n].TestStepsAttachmentsCount}	${TestRuns[n].TestStepsAttachmentsCount}
{for a=TestRuns[n].TestStepsAttachmentsCount} {TestRuns[n].TestStepsAttachments[a].Name} {TestRuns[n].TestStepsAttachments[a].Author} {title={TestRuns[n].TestStepsAttachments[a].FileURL}|href={TestRuns[n].TestStepsAttachments[a].FileURL}} {TestRuns[n].TestStepsAttachments[a].Size} #{end}	#{for a=TestRuns[n].TestStepsAttachmentsCount} ${TestRuns[n].TestStepsAttachments[a].Name} ${TestRuns[n].TestStepsAttachments[a].Author} @{title=${TestRuns[n].TestStepsAttachments[a].FileURL}|href=${TestRuns[n].TestStepsAttachments[a].FileURL}} ${TestRuns[n].TestStepsAttachments[a].Size} #{end}
{TestRuns[n].TestStepsCount}	${TestRuns[n].TestStepsCount}

Test Run Step Details

Test Run Step Details Mappings	Test Run Step Details Contents
{TestRuns[n].Cucumber Scenario}	${TestRuns[n].Cucumber Scenario}
{TestRuns[n].Generic Test Definition}	${TestRuns[n].Generic Test Definition}
{TestRuns[n].TestStepsCount}	${TestRuns[n].TestStepsCount}

#{for r=TestRuns[n].TestStepsCount}

{TestRuns[n].TestSteps[r].StepNumber}	${TestRuns[n].TestSteps[r].StepNumber}
{TestRuns[n].TestSteps[r].Step|wiki=true}	${TestRuns[n].TestSteps[r].Step|wiki=true}
{TestRuns[n].TestSteps[r].Data|wiki=true}	${TestRuns[n].TestSteps[r].Data|wiki=true}
{TestRuns[n].TestSteps[r].ExpectedResult|wiki=true}	${TestRuns[n].TestSteps[r].ExpectedResult|wiki=true}
{TestRuns[n].TestSteps[r].Comment|wiki=true}	${TestRuns[n].TestSteps[r].Comment|wiki=true}
{TestRuns[n].TestSteps[r].Status}	${TestRuns[n].TestSteps[r].Status}
{TestRuns[n].TestSteps[r].AttachmentsCount}	${TestRuns[n].TestSteps[r].AttachmentsCount}
{for sa=TestRuns[n].TestSteps[r].AttachmentsCount} {TestRuns[n].TestSteps[r].Attachments[sa].Name} {TestRuns[n].TestSteps[r].Attachments[sa].Author} {title={TestRuns[n].TestSteps[r].Attachments[sa].FileURL}|href={TestRuns[n].TestSteps[r].Attachments[sa].FileURL}} {TestRuns[n].TestSteps[r].Attachments[sa].Size} #{end}	#{for sa=TestRuns[n].TestSteps[r].AttachmentsCount} ${TestRuns[n].TestSteps[r].Attachments[sa].Name} ${TestRuns[n].TestSteps[r].Attachments[sa].Author} @{title=${TestRuns[n].TestSteps[r].Attachments[sa].FileURL}|href=${TestRuns[n].TestSteps[r].Attachments[sa].FileURL}} ${TestRuns[n].TestSteps[r].Attachments[sa].Size} #{end}
{TestRuns[n].TestSteps[r].DefectsCount}	${TestRuns[n].TestSteps[r].DefectsCount}
{for dc=TestRuns[n].TestSteps[r].DefectsCount} {title={TestRuns[n].TestSteps[r].Defects[dc].Key}|href={BaseURL}/browse/{TestRuns[n].TestSteps[r].Defects[dc].Key}} {TestRuns[n].TestSteps[r].Defects[dc].Summary|wiki=true} #{end}	#{for dc=TestRuns[n].TestSteps[r].DefectsCount} @{title=${TestRuns[n].TestSteps[r].Defects[dc].Key}|href=${BaseURL}/browse/${TestRuns[n].TestSteps[r].Defects[dc].Key}} ${TestRuns[n].TestSteps[r].Defects[dc].Summary|wiki=true} #{end}
{TestRuns[n].TestSteps[r].EvidencesCount}	${TestRuns[n].TestSteps[r].EvidencesCount}
{for e=TestRuns[n].TestSteps[r].EvidencesCount} {TestRuns[n].TestSteps[r].Evidences[e].Name} {TestRuns[n].TestSteps[r].Evidences[e].Author} {title={TestRuns[n].TestSteps[r].Evidences[e].FileURL}|href={TestRuns[n].TestSteps[r].Evidences[e].FileURL}} {TestRuns[n].TestSteps[r].Evidences[e].Size} #{end}	#{for e=TestRuns[n].TestSteps[r].EvidencesCount} ${TestRuns[n].TestSteps[r].Evidences[e].Name} ${TestRuns[n].TestSteps[r].Evidences[e].Author} @{title=${TestRuns[n].TestSteps[r].Evidences[e].FileURL}|href=${TestRuns[n].TestSteps[r].Evidences[e].FileURL}} ${TestRuns[n].TestSteps[r].Evidences[e].Size} #{end}

#{end}

#{end}