Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26525

Provide the ability to retrieve more than 15 results while calling the /rest/api/2/jql/autocompletedata/suggestions endpoint

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Data Center
    • None
    • 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.

      Issue Summary

      The 'get autocomplete suggestions for JQL search' endpoint has a hardcoded limit of 15 results. This information is not clearly stated in the REST API documentation: Jira REST API Documentation. Integrations like MS Teams for Jira provide the ability to create issues from the chatbot. However, when a user clicks on the labels dropdown, even if they have more than 15 labels, only 15 will be returned due to this hardcoded limit. MS Teams calls the following endpoint: JIRA_BASE_URL/rest/api/2/jql/autocompletedata/suggestions?fieldName=labels.

      Expected Results

      All the labels should be retrieved. 

      Actual Results

      Only 15 labels are retrieved. 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              a40e482b6993 Samuel de Azevedo Dias
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: