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

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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
      

            Unassigned Unassigned
            ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
            Votes:
            33 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated: