Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Xray DC 8.4.0
-
None
-
None
-
Jira 10.3.10
Xray DC 8.4.0
Description
Description
Incorrect export of mappings 'Test Plan' and 'Test Environments' when the fields are empty
How to reproduce
- Create a Test Execution leaving the fields 'Test Plan' and 'Test Environments' empty
- Create a template to export these fields
- Export this template from the recently created Test Execution
Actual result/Attachments
When empty these fields export as '[]'
When exporting as XML, the square brackets are also present
<customfield id="customfield_10135" key="com.xpandit.plugins.xray:test-environments-custom-field"> <customfieldname>Test Environments</customfieldname> <customfieldvalues> <customfieldvalue>[]</customfieldvalue> </customfieldvalues> </customfield> </customfieldvalues> </customfield> <customfield id="customfield_10137" key="com.xpandit.plugins.xray:test-plan-custom-field"> <customfieldname>Test Plan</customfieldname> <customfieldvalues> <customfieldvalue>[]</customfieldvalue> </customfieldvalues> </customfield>
Expected result
Empty fields should export empty
Version
- Jira 10.3.10
- Xray DC 8.4.0