We are using Zephyr for JIRA to help document test cases. Our test data is always changing as our database is refreashed and masked periodically, therefore we want to enter SQL into the Test Data field of a Zephyr Test Step. However, when viewing the issue as XML or as a feed in Confluence, the XML is invalid. Doesn't seem like Zephyr is appropriately scrubbing the spaces like other JIRA Fields.
For example, here is SQL that we like to put in the Test Data section of a Step...
SELECT a.column1 FROM tableA a WHERE a.column1 > 5;
Where the indentions are spaces.
When viewing this issue in JIRA, no issue. However, when viewing the issue in XML format an error is displayed. Error states:
When you look at the source for the issue in XML format you see that the spaces are all represented (as ), which apears to be the issue for valid XML.
... <step> <orderId>2</orderId> <step>step with tabs</step> <data>SELECT<br/> &nbsp;&nbsp;&nbsp;&nbsp;a.column1<br/> FROM<br/> &nbsp;&nbsp;&nbsp;&nbsp;tableA a<br/> WHERE<br/> &nbsp;&nbsp;&nbsp;&nbsp;a.column1 &gt; 5;<br/> </data> <result>Should work</result> </step> ...
When trying then to view this issue or a filter with this issue in Confluence, it fails since the XML appears to be invalid. This blocks the ability to feed issues, specifically for Confluence.
Options: Could Zephyr fields be JIRA wiki field an scrub spaces better? (might have other advantages than just a plain field.
Any input or help would be appreciated!
Upgraded to Zephyr for JIRA 188.8.131.523 and issue is resolved.
<step> <orderId>1</orderId> <step><![CDATA[ step with spaces ]]></step> <data><![CDATA[ SELECT a.column1 FROM tableA a WHERE a.column1 > 5; ]]></data> <result><![CDATA[ Should work ]]></result> </step>
Thank you to @Chirs Miller for your quick response and your team for providing a resolution!
I've been in contact with Zephyr support on the same issue. I was told by one of their representatives, Emily Schneider, that "the issue you are running into is currently a bug. It will however be solved in Zephyr for JIRA 1.7. This will be released very soon; within the month."
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
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!
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