I need to create a template that includes the amount and states associated with a user story through test coverage. I have been working on the following template:
TestRunStatus: ${set(totalPassedCount,0)} #{for j=LinksCount} #{if (%{'${Links[j].LinkType}'.equals('is tested by') && '${Links[j].IssueTypeName}'.equals('Test')})} #{if (%{'${Links[j].TestStatus}’.equals(‘PASSED’)})} ${set(totalPassedCount,%{${totalPassedCount} + 1})} #{end} #{end} #{end} ${totalPassedCount}
Passed: ${set(totalPassedCount,0)} #{for j=LinksCount} #{if (%{'${Links[j].LinkType}'.equals('Test Coverage') })} #{if (%{'${Links[j].TestStatus}’.equals(‘PASSED’)})} ${set(totalPassedCount,%{${totalPassedCount} + 1})} #{end} #{end} #{end} ${totalPassedCount}


Downloading the test coverage is not working.