Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-77382

Only 25 results are returned when adding columns to filters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • Search - Frontend
    • None

    Description

      Problem

      When adding fields as columns to be displayed for a filter, only 25 results are returned. In a situation where there are more than 25 results that match the string provided in the search, the desired result may not be returned.

      How to reproduce

      1. Create multiple custom fields that contain the same word
        • In the test performed, more than 25 custom fields had the word Status in their name
      2. Open a filter in the List view
      3. Click Columns
      4. Search for the field you're looking to add

      Expected result

      • It would be expected that at least the field that matched exactly the string provided would be returned

      Actual result

      • Only 25 results are returned, but not necessarily the one you're expecting to see. Because there is no pagination, the desired result may not be reachable
      • In the example above, there were more than 25 custom fields named <something> Status. The field to be added was the system field Status, but because of this behavior, it was not possible to add it as a column, as it is not returned by the search.

      Workaround:

      Below, an example of how this request can be executed using cURL. In this example, the updated filter would have the columns Issue Key, Summary, Assignee and Status set

      curl -D- -u <emailAddress>:<apiToken> -X PUT -d columns=issuekey -d columns=summary -d columns=assignee -d columns=status https://<instance>.atlassian.net/rest/api/3/filter/{filterId}/columns
      
      • For custom fields, specify its IDs in the format customfield_{id} (i.e. customfield_10000)

      Attachments

        Issue Links

          Activity

            People

              ccasais@atlassian.com Cristian Casais
              e32c3a85cf21 Uchechi I
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: