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

Exporting to xml, printable or excel views does not preserve the sorting set at the filter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.0
    • Navigation - Export
    • Apache Tomcat/5.5.28
      PostgreSQL Native Driver PostgreSQL 8.1 JDBC3 with SSL (build 407)
      Linux 2.6.18-128.1.10.el5
      1.6.0_20
      enterprise

    Description

      The order by option in JQL seems not to be used when generating xml, excel or printable.

      At exporting or switching a searchRequestView to other vies based on xml/rss the sorting of the searchrequest (stored in the Database) is not used.
      It is using default key desc.

      The only workaround is to reorder the searchresult or adding something like &sorter/field=status&sorter/order=ASC at the searchrequest url.
      At this time the filter is marked as modified and the search query is placed into the url.

      For searchrequest-xml it is similar, only works with s.th. like:
      /app/sr/jira.issueviews:searchrequest-xml/10605/SearchRequest-10605.xml?tempMax=1000&sorter/field=status&sorter/order=ASC

      The permanent link is not usable as you want to export "current view"-fileds.

      This issue also affects the jira issues macro from Confluence too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f4d7601298ef Jan-Philipp Jourdan
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: