Currently, when going to the Issues page of a view, if you search for a project in the search filter, you can select projects that are not in the view. The WS that suggests projects should take this use case into account and return only the appropriate projects (based on the new Views E/S index).
Technical details :
A new WS will be created : /api/components/search. Parameters will be :
- q : UTF-8 search query (Mandatory)
- componentUuid : component uuid from where to search components (Mandatory)
- p : 1-based page number (Default value : 1)
- ps : page size (Default value : 10).
Format of the return should be something like :
This WS will only support search of projects from a view / sub-view for the moment.