Forum Discussion

Joysn71's avatar
Joysn71
Frequent Visitor
4 months ago

How can I address Zephyr fields in Xporter templates?

I want to create a Xporter template for exporting test cases. The template works so far with attributes from the Jira issueType "Test".

But when I use ${Zephyr Teststep}in the template, the following is written to the created export file (DOCX), in that case:

[com.thed.zephyr.je.vo.TeststepBean@499df587, com.thed.zephyr.je.vo.TeststepBean@32dac2f1, com.thed.zephyr.je.vo.TeststepBean@3964d21] 

 

I was not able to figure out how to address the test step content of a Zephyr test case. I want to create a custom table with the test steps in the rows and the "step", "data" and "result" in the columns.

 

How can I achieve this?

I found the following XML snippet when a test case is exported to XML:

 

<customfield id="customfield_11820" key="com.thed.zephyr.je:zephyr-je-customfield-teststep">
<customfieldname>Zephyr Teststep</customfieldname>
<customfieldvalues>
<steps>
<step>
<orderId>1</orderId>
<step>Test step 1</step>
<data>Test data 1</data>
<result>Result 1</result>
</step>
<step>
<orderId>2</orderId>
<step>Test step 2</step>
<data>Test data 2</data>
<result>Result 2</result>
</step>
</steps>
</customfieldvalues>
</customfield>

 

Another issue is: where do I find the documentation for Xporter and Zephyr for these versions?

Jira Server: 8.20.11

Zephyr Squad: 6.2.9

No RepliesBe the first to reply