Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-680

Allow contains operator ~ for space and space.key fields in the Search REST API to allow partial match

    • 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.

      Summary

      Allow partial match when searching for spaces using space or space.key fields

      Otherwise, we need to fetch all spaces from the paginated REST API and filter them in the frontend code.

      Expected Results

      E.g. a request with a query of "ex" would return a list of spaces like

      ...
      {"key": "external", "name": "external content"}, 
      {"key":"example", "name":"example space"}, 
      {"key":"xyz", "name":"extra space"}
      ...
      

      Note

      Although using contains operator with the space field is not supported based on the documentation, for some instances it does work.

      /wiki/rest/api/search?cql=space ~ "ex*" AND type = space
      

            [AI-680] Allow contains operator ~ for space and space.key fields in the Search REST API to allow partial match

            pqz made changes -
            Component/s Original: Search - Scaling [ 61411 ]
            Component/s Original: Search - Core [ 46383 ]
            Component/s Original: Ecosystem - API Framework [ 46317 ]
            Component/s New: Search - Core [ 75296 ]
            Component/s New: Search - Core [ 75296 ]
            Component/s New: Admin Experience [ 74216 ]
            Key Original: CONFCLOUD-59960 New: AI-680
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Project Original: Confluence Cloud [ 18513 ] New: Atlassian Intelligence [ 23110 ]
            James Richards made changes -
            Remote Link Original: This issue links to "DEVHELP-1257 (Ecosystem Jira)" [ 369652 ] New: This issue links to "DEVHELP-1257 (Ecosystem JIRA)" [ 369652 ]
            Matthew Hunter made changes -
            Resolution New: Won't Fix [ 2 ]
            Status Original: Gathering Interest [ 11772 ] New: Closed [ 6 ]
            Matthew Hunter made changes -
            Labels Original: devhelp New: devhelp timeout-suggestion-bulk-close
            Anand Kashyap made changes -
            Epic Link New: CONFDEV-73698 [ 1708695 ]
            Sunny Xu (Inactive) made changes -
            Component/s New: Ecosystem - API Framework [ 46317 ]
            Component/s New: Search - Core [ 46383 ]
            Elaine H. (Inactive) made changes -
            Component/s New: Search - Scaling [ 61411 ]
            Component/s Original: Core - Connect Platform [ 46336 ]
            Peter Obara made changes -
            Rank New: Ranked lower
            Peter Obara made changes -
            Rank New: Ranked lower
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3422864 ] New: JAC Suggestion Workflow 3 [ 3617888 ]

              Unassigned Unassigned
              53106592bb6d Jon Bevan [Adaptavist]
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: