Xporter: Test-Plans associated with a Test-Execution

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

353 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you