with the folowing code i don t receive the total Defect from Type"High". Thx for your help.
-------------------------------------------------------------------------------------
#{for testruns}
#{for r=TestRuns[n].TestStepsCount}
#{for dc=TestRuns[n].TestSteps[r].DefectsCount}
#{if (%{'${TestRuns[n].TestSteps[r].Defects[dc].Priority}'.equals('High')})}
${set(${anz},%{${anz}+ ${TestRuns[n].TestSteps[r].DefectsCount|href=${BaseURL}/browse/${TestRuns[n].TestSteps[r].DefectsCount}}})}
#{end}
#{end}
#{end}
#{end}