I'm modifying the example Test Set Template for XPorter. What I would like to do is for each test set, print out some fields from each test, and the test's associated "test execution"'s. I'm able to get most of the fields, but the key and description aren't printing out correctly. They give the "test[j]" fields instead of the "test execution" TestRuns[n] fields. The template code looks like the following. All fields are printing correctly except the first two fields, key and description.
We're using jira 8.4.2 and XPorter 6.2.1.
#{for j=TestsCount}
#{for n=Tests[j].TestRunsCount}
Key: ${Tests[j].TestRuns[n].Key
Description: ${Tests[j].TestRuns[n].Description}
Executed by: ${Tests[j].TestRuns[n].Executed By}
Execution Status: ${Tests[j].TestRuns[n].Execution Status}
Started on: ${Tests[j].TestRuns[n].Started On}
Finished on: ${Tests[j].TestRuns[n].Finished On}
#{end}
#{end}