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

Extend JIRA REST API Search Request method

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Problem Definition

      The REST API's search endpoint does not provide any of the information in the properties of an issue. There is no ?expand= parameter available to have this information included.

      Looping over each issue returned from a search query to then gather its properties via:

      GET /rest/api/2/issue/{idOrKEYHere}/properties/com.servicerocket.jira.cloud.issue.salesforce.associations
      

      is extremely slow and runs up the toll on the number of API calls we have to make by the thousands.

      Suggested Solution

      Alter the search endpoint so that the properties are something that can be expanded and grabbed all at once. Something akin to:

      GET /rest/api/2/search?jql=ID&3D123&expand=properties
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aborzzatto Andre Borzzatto
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: