Xporter: Test-Plans associated with a Test-Execution

João Galego December 22, 2017

What would be the best way to display information about the test-plans associated with a given test-execution using the Xporter addon?

I can check the test-executions associated with a test-plan:

https://confluence.xpand-addons.com/display/public/XPORTER/Xray+for+JIRA#XrayforJIRA-TestExecutionsassociatedwithaTestPlan

#{for testExecutions}    

${TestExecution[n].Key}    

${TestExecution[n].Summary}    

${TestExecution[n].Description}    

#{for i=TestExecution[n].TestRunsCount}        

${TestExecution[n].TestRuns[i].Executed By}        

${TestExecution[n].TestRuns[i].PreCondition.Key}        

.......    

#{end}

#{end}

and the test-plans associated with a test:

https://confluence.xpand-addons.com/display/public/XPORTER/Xray+for+JIRA#XrayforJIRA-TestPlansassociatedwithaTest

#{for testPlans}    

${TestPlans[n].Key}    

${TestPlans[n].Summary}    

${TestPlans[n].Description}

#{end}

but not the test-plans associated with a test-execution.

Is this supported?

1 answer

0 votes
Mafalda de Azevedo Mendes January 31, 2018

Hi João,

It should be possible using:

  1. Nested Iterations (https://confluence.xpand-addons.com/display/public/XPORTER/Iterations#Iterations-ApplyingfilterstoIterations)
  2. with JQL queries (https://confluence.xpand-addons.com/display/public/XPORTER/Iterations#Iterations-IteratingJQLQueries).
  3. using function testExecutionTests that returns a List of Test issues associated with the input Test Execution issue key (https://confluence.xpand-addons.com/display/XRAY/Enhanced+querying+with+JQL)
  4. and afterwards the function testTestPlan that returns a List of Test Plan issues associated with the input Test issue key (https://confluence.xpand-addons.com/display/XRAY/Enhanced+querying+with+JQL)

 

If you have more questions feel free to ask.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events