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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,720 views 3 11
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