As a Jira user I would like have configurable list of default Custom Fields returned by REST search

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: REST API
    • 3
    • 15

      Problem Definition

      By default, if no fields are specified when searching via REST, all fields are returned. This could be slow and also adds extra overhead to the system, in some cases, a specific Custom Field could significantly slow down the response (see JRASERVER-68602)

      Suggested Solution

      • Introduce the configurable list of default Custom Fields (CF) returned by REST search
      • Return the list of default CF if no fields are specified
        • unless it was explicitly requested to return all fields

      Workaround

      When performing REST api searches, ensure to specify the fields you need.

      {base_url}/rest/api/2/search?jql=text%20~%20task\&fields=summary,description,reporter,assignee
      

            Assignee:
            Unassigned
            Reporter:
            Andriy Yakovlev [Atlassian]
            Votes:
            33 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated: