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!
Thank you!
Upgraded to Zephyr for JIRA 1.7.3.1043 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!
Cheers - The Zephyr Team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, Zephyr for JIRA 1.6 is current, I believe the next version is 1.7. At least that is what I've been told :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chad,
I'm watching the issue ticket in our JIRA and will work to keep you informed.
Kind Regards,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where can we find information on what will be included in 1.7 and when it will be released?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chad,
Our dev team is looking at your notes. We'll get back to you soon.
Kind Regards,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've filed a defect on this and hope to have it resolved in a coming release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
Thank you for your response. I look forward to the fix. Can we expect a follow-up on this question when the fix is ready?
Thank you,
Chad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.