&{for issues} #{if (%{'${IssueTypeName}'.equals('Test run')})} ${Test runs} #{end} &{end}

Titel

Release	DOC IDENT
Autor
Version	0.1
Datum	DOC DATE
Status	In work
Vertraulichkeit	Firmenintern PSI, Kunde

Inhalt

1 ${Summary}	3

2 Zusammenfassung	5

&{for issues}

#{if (%{'${IssueTypeName}'.equals('Test package')})}

${Summary}

Jira Schlüssel	${Key}	Status	${Status}
Priorität	${Priority}	Geplanter Aufwand	${Geplanter Aufwand}
Beschreibung	${Description}

Testfälle im Testpaket

${set(count,0)}

Nr	Jira-Schlüssel	Zusammenfassung	Status	Problems

#{for m=JQLIssuesCount|clause=issuekey in linkedIssues (${Key}) AND issuetype='Test case' ORDER BY Hierarchy1, Hierarchy2, 'Sort nr.'}

${set(count,%{${count} + 1})}

%{var num=${count};var nodecimals= num.toFixed(0);nodecimals;}	${JQLIssues[m].Key}	${JQLIssues[m].Summary}	${JQLIssues[m].Status}	#{for is=JQLIssuesCount|clause=issuekey in linkedIssues(${JQLIssues[m].Key}) AND issuetype='Problem' ORDER BY priority,key} ${JQLIssues[is].Key} #{end}

#{for sub=JQLIssues[m].SubtasksCount}

${ JQLIssues[m].Subtasks[sub].Key}	${ JQLIssues[m].Subtasks[sub].Summary}	${JQLIssues[m].Subtasks[sub].Status}

#{end}

#{end}

#{for m=JQLIssuesCount|clause=issuekey in linkedIssues (${Key}) AND issuetype='Test case' ORDER BY 'Sort nr.'}

#{if (%{${jqlcount: issuekey in linkedIssues ${JQLIssues[m].Key} AND issuetype='Problem' } > 0}})}

Jira-Schlüssel	Verknüpfte TF	Zusammenfassung	Prio	Status	Testlauf

#{for is=JQLIssuesCount|clause=issuekey in linkedIssues ${JQLIssues[m].Key} AND issuetype='Problem' ORDER BY priority,key}

${JQLIssues[is].Key}	${JQLIssues[m].Key}	${JQLIssues[is].Summary}	${JQLIssues[is].Priority}	${JQLIssues[is].Status}	${JQLIssues[is].Testläufe}

#{end}

#{end}

#{end}

#{end}

&{end}

Zusammenfassung

Testlauf:

Jira Schlüssel	Zusammenfassung	Status	Start Datum	Ende Datum

&{for issues|filter=%{'${IssueTypeName}'.equals('Test run')}}

${Key}	${Summary}	${Status}	${dateformat("dd.MM.yyyy HH:mm:ss"):Start Datum}	${dateformat("dd.MM.yyyy HH:mm:ss"):Ende Datum}

&{end}

Alle Testpakete des Testlaufs:

Jira Schlüssel	Zusammenfassung	Prio	Status

&{for issues|filter=%{'${IssueTypeName}'.equals('Test package')}}

${Key}	${Summary}	${Priority}	${Status}

&{end}

Ausführungsstatistiken für Testpakete

&{for issues|filter=%{'${IssueTypeName}'.equals('Test run')}}

${html:Status statistics}

&{end}

Befundsstatistiken für Testpakete

&{for issues|filter=%{'${IssueTypeName}'.equals('Test run')}}

${html:Priority statistics}

&{end}

&{for issues|filter=%{'${IssueTypeName}'.equals('Test run')}}

${html:Labels statistics}

&{end}

&{for issues|filter=%{${BulkIssueIndex} == 0}}

Statistik der Testdurchführung:

Typ	successful	failed	rejected	planned	in progress	Gesamt
Testfall	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Test case' AND Status='test successful' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Test case' AND Status='test failed' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Test case' AND Status='test rejected' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Test case' AND Status='test planned' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Test case' AND Status='test in progress' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Test case' AND "Test runs"=${Testläufe} }
Iteration	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Iteration' AND Status='test successful' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Iteration' AND Status='test failed' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Iteration' AND Status='test rejected' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Iteration' AND Status='test planned' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Iteration' AND Status='test in progress' AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE='Iteration' AND "Test runs"=${Testläufe} }
Gesamt	${jqlcount:Project = ${ProjectKey} AND Status='test successful' AND ISSUETYPE in ('Iteration', 'Test case') AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND Status='test failed' AND ISSUETYPE in ('Iteration', 'Test case') AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND Status='test rejected' AND ISSUETYPE in ('Iteration', 'Test case') AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND Status='test planned' AND ISSUETYPE in ('Iteration', 'Test case') AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND Status='test in progress' AND ISSUETYPE in ('Iteration', 'Test case') AND "Test runs"=${Testläufe} }	${jqlcount:Project = ${ProjectKey} AND ISSUETYPE in ('Iteration', 'Test case') AND "Test runs"=${Testläufe} }

Statistik der Befunde:

Priorität	Anzahl
1	${jqlcount: ISSUETYPE=Problem AND PRIORITY=1 AND "Test runs"=${Testläufe} }
2	${jqlcount: ISSUETYPE=Problem AND PRIORITY=2 AND "Test runs"=${Testläufe} }
3	${jqlcount: ISSUETYPE=Problem AND PRIORITY=3 AND "Test runs"=${Testläufe} }
4	${jqlcount: ISSUETYPE=Problem AND PRIORITY=4 AND "Test runs"=${Testläufe} }
5	${jqlcount: ISSUETYPE=Problem AND PRIORITY=5 AND "Test runs"=${Testläufe} }

&{end}

Zusammenfassung der Befunde:

Jira-Schlüssel	Verknüpfte TF	Zusammenfassung	Prio	Status	Testlauf

&{for issues}

#{if (%{'${IssueTypeName}'.equals('Test package')})}

#{for m=JQLIssuesCount|clause=issuekey in linkedIssues (${Key}) AND issuetype='Test case' ORDER BY 'Sort nr.'}

#{for is=JQLIssuesCount|clause=issuekey in linkedIssues (${JQLIssues[m].Key}) AND issuetype='Problem' ORDER BY priority,key}

${JQLIssues[is].Key}	${JQLIssues[m].Key}	${JQLIssues[is].Summary}	${JQLIssues[is].Priority}	${JQLIssues[is].Status}	${JQLIssues[is].Testläufe}

#{end}

#{end}

#{end}

&{end}

Datum:

Unterschrift Kunde	Unterschrift PSI