Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-5586

CSV export in save filter did not work if issue picker or LDAP picker field added into the column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Done
    • 6.35.0
    • 6.40.0
    • None
    • SR4J Sprint 111, SR4J Sprint 112
    • 12.2

    Description

      CSV export in save filter will fail if the picker field added into the available columns does not have a context that applies to the current filter.

      Tested with: Issue picker and LDAP picker

      Steps to Reproduce

      • Create two new projects (Proj1 and Proj2) and a single issue in Proj1.
      • Create an issue picker scripted field and set the context and screens to just Proj2.
      • Create a saved filter that only shows issues in Proj1. e.g: `project = Proj1` and then navigate to that filter and change to list view mode.
      • Add the issue picker scripted field (belonging to Proj2) as one of the columns.
      • Click on Export > CSV (Current fields)

      Expected Behaviour

      CSV will be downloaded successfully.

      Actual Behaviour

      CSV failed to download with "Failed - Network error"

      Attachments

        1. [One issue] Issue Navigator - Jira 8.18.1 2021-10-09 23-35-29.png
          8 kB
          Amirul Omar
        2. csv export not working.mp4
          1.28 MB
          Amirul Omar
        3. Recording #59.mp4
          2.75 MB
          Amirul Omar
        4. SRJIRA-5586_HAR.har
          18 kB
          Amirul Omar
        5. SRJIRA-5586_ScriptRunner 6.35 with HAR file.mp4
          1.92 MB
          Amirul Omar
        6. SRJIRA-5586 with ScriptRunner ver 6.36.mp4
          4.67 MB
          Amirul Omar

        Issue Links

          Activity

            People

              wsignoretti Wagner Signoretti
              aomar Amirul Omar
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: