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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

830 views 2 9
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