Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-71512

Exporting issues via XML using Chrome and Edge produces an empty file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 8.5.1, 8.9.1
    • Navigation - Export
    • None

      Issue Summary

      XML export file is empty when filter results are exported in Chrome or Edge. It works fine in Mozilla.

      Steps to Reproduce

      1. Open Issue navigator and search for issues with any query.
      2. Click on export and select XML
      3. once XML is opened in other tab, right click and Save as.
      4. open the saved XML file. Find the attached file for reference
      5. The content in the file is different from what it is saved after opening.

      Expected Results

      It should save the XML in the way it shows in the browser tab.

      Actual Results

      The XML doesn't contain data. Even the headers are different to the one exported by Firefox:

      Chrome export
      $ cat ~/Documents/junk/SearchRequest-chrome.xml
      <?xml version="1.0" encoding="UTF-8" ?>
      
      <!--  RSS generated by JIRA 8.5.2 at Tue, 20 Oct 2020 17:40:09 +0200 -->
      <rss version="0.92">
      <channel>
      	<title>Jira</title>
      	<link>http://852.jira.local:8852/j852</link>
      	<description>This file is an XML representation of some issues</description>
      	<language>en-nl</language>
      <build-info>	<version>8.5.2</version>	<build-number>805002</build-number>	<build-date>16-12-2019</build-date></build-info></channel>
      </rss>
      
      Firefox export
      $ head -30 SearchRequest-firefox.xml
      <!--
      RSS generated by JIRA (8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049) at Wed Oct 21 15:58:11 CEST 2020
      
      It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
      For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
      -->
      <!-- If you wish to do custom client-side styling of RSS, uncomment this:
      <?xml-stylesheet href="http://852.jira.local:8852/j852/styles/jiraxml2html.xsl" type="text/xsl"?>
      -->
      <rss version="0.92">
          <channel>
              <title>Jira</title>
              <link>http://852.jira.local:8852/j852/issues/?jql=assignee+%3D+currentUser%28%29+AND+resolution+%3D+Unresolved+order+by+updated+DESC</link>
              <description>An XML representation of a search request</description>
                      <language>en-nl</language>
                              <issue start="0" end="36" total="36"/>
                      <build-info>
                  <version>8.5.2</version>
                  <build-number>805002</build-number>
                  <build-date>16-12-2019</build-date>
              </build-info>
      
      <item>
                  <title>[JSD-19] Typo on the public website</title>
                      <link>http://852.jira.local:8852/j852/browse/JSD-19</link>
                      <project id="10200" key="JSD">JSD</project>
                          <description>&lt;p&gt;On the about us page there is a typo on the "What we do" section.&lt;/p&gt;</description>
                      <environment/>
              <key id="10618">JSD-19</key>
                  <summary>Typo on the public website</summary>
      

      Notes

      • The bug doesn't occur with Firefox.
      • The bug doesn't occur with Jira 7.13.x.

      Workaround

      No viable workaround is available at the moment.

        1. SearchRequest.xml
          1 kB
          Saranjeet Kaur
        2. testxml2.xml
          1 kB
          Saranjeet Kaur
        3. Screenshot 2020-09-02 at 4.21.12 PM.png
          171 kB
          Saranjeet Kaur
        4. Screenshot 2020-09-02 at 4.21.25 PM.png
          706 kB
          Saranjeet Kaur

              Unassigned Unassigned
              skaur@atlassian.com Saranjeet Kaur (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: