Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I address Zephyr fields in Xporter templates?

Joysn November 15, 2023

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@264f008f]

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

E.g. http://confluence.xpand-addons.com/display/public/XPORTER/Iterations is not working

1 answer

1 accepted

0 votes
Answer accepted
Dave Rosenlund _Trundl_
Community Champion
November 15, 2023

Hi, @Joysn.

In cases like this one, you'll probably have better luck contacting the Zephyr support team at SmartBear.

In other words, Zephyr is just one of many test management apps for Jira so the likelihood of there being another advanced Zephyr user noticing you post is diminished. But you can be 100% certain of getting the help you need by contact SmartBear directly.

Best,

-dave

Joysn November 15, 2023

Hi @Dave Rosenlund _Trundl_

oh, yes, this makes more sense :) Thanks for the hint!

Best regards,

Chris

Like Dave Rosenlund _Trundl_ likes this

Suggest an answer

Log in or Sign up to answer