Zephyr for JIRA: (spaces) in Fields causing error from XML view

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:

This page contains the following errors:

error on line 77 at column 7: Entity 'nbsp' not defined

Below is a rendering of the page up to the first error.

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/>
    a.column1<br/>
FROM<br/>
    tableA a<br/>
WHERE<br/>
    a.column1 > 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!

4 answers

1 accepted

This widget could not be displayed.

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>	

Also, Zephyr for JIRA - Release Notes provide a high level description of the features/bugs resolved (not quite as "Open Company, No Bullshit" as Atlassian, but some insight).

Thank you to @Chirs Miller for your quick response and your team for providing a resolution!

Cheers - The Zephyr Team.

This widget could not be displayed.

Hi Chad,

Our dev team is looking at your notes. We'll get back to you soon.

Kind Regards,

Chris

We've filed a defect on this and hope to have it resolved in a coming release.

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

This widget could not be displayed.

Hi Chad,

I'm watching the issue ticket in our JIRA and will work to keep you informed.

Kind Regards,
Chris

Where can we find information on what will be included in 1.7 and when it will be released?

This widget could not be displayed.

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."

Sorry Tim. 1.7 looks to be the next release. I had JIRA 6.0 on the brain! :)

Thanks!

Hi Tim - Thanks for the response, much appreciated. Did you mean 1.6 or 1.7?

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 :)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

173 views 2 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you