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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Monday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

344 views 0 13
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