Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


How do I export custom fields for Test steps using Xporter plugin?


I 'm trying to build a template for people to use to print out test procedures and I need to use Test Step Custom fields for this template. I can't seem to export the custom fields under test steps using template instructions and Xporter plugin.   I am able to get the Jira defined fields to print out. 


 Actual Results:  ${wiki:TestRuns[n].TestSteps[r].ActualResult} 

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2021

Hi @Teri Amador 

Please check our documentation ( if you additional details.

In the case of the Actual Results you to use this (with a space between the two words):

${wiki:TestRuns[n].TestSteps[r].Actual Result}

If you additional help, please contact the Xporter Support ( so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xporter Support Team]

copying straight out of the documentation doesn't seem to work, is there a necessary customization?

For example, I'm using the following block, copied straight out of the example sample code:

2.1 Test Runs
#Total of Test Runs
Test Runs Count: ${TestRunsCount}

#{for testruns}
Execution Status: ${TestRuns[n].Execution Status}
AssigneeID: ${AssigneeId}
Rank: ${TestRuns[n].Rank}
Executed By: ${TestRuns[n].Executed By}
Started On: ${TestRuns[n].Started On}
Finished On: ${TestRuns[n].Finished On}
Comment: ${wiki:TestRuns[n].Comment}
Execution Defects Count: ${TestRuns[n].ExecutionDefectsCount}
TestSteps Defects Count: ${TestRuns[n].TestStepsDefectsCount}
Evidences Count: ${TestRuns[n].ExecutionEvidencesCount}

#{for Tests}
@{title=${Tests[n].Key}|href=${BaseURL}/browse/${Tests[n].Key}} – ${Tests[n].Summary}

Test Description:


When I export using Test Plan using this template I get 0 for count, and no test runs. Also tried proper capitalization "TestRuns" with no results.

"for Tests" works, and I get all the tests in the test plan.

this works for me. 


#{for testruns}

Number of Steps: ${TestRuns[n].TestStepsCount}

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

   Step Number: ${TestRuns[n].TestSteps[r].StepNumber}          

   Operator Actions:  ${TestRuns[n].TestSteps[r].Step}

  Expected Results:  ${wiki:TestRuns[n].TestSteps[r].ExpectedResult}

Actual Results: ${wiki:TestRuns[n].TestSteps[r].Data}

Comment: ${wiki:TestRuns[n].TestSteps[r].Comment}



Hi Teri, do you have any code before this block?

for now I don't .  I don't need to export out anything else.  I'm still in the beginning stages of building the template. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events