Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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. 

example:

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

1 answer

Hi @Teri Amador 

Please check our documentation (https://confluence.xpand-it.com/display/public/XPORTER/Xray+Test+Management+for+Jira#XrayTestManagementforJira-IteratingManualTestStepdetailsassociatedwithaTestRun) 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 (http://xportersupport.xpand-it.com) 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}
#{end}

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

Test Description:
${wiki:Tests[n].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}

  #{end}

 #{end}

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

390 views 5 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you