codestream
                                
                                
                                
                                    codestream copied to clipboard
                            
                            
                            
                        MR Query for `scope:all` does not work in 11.0 for gitlab.com
in codestream 11.0
In Merge Requests, connected to a hosted gitlab.com (free) project,
creating a New Merge Request Query with scope:all does not work.
(On Mac OS 11.2.3 if that matters.)
@patmuk - I just did a quick test and a scope=all query seemed to return results for me. Obviously we have that other issue you reported about not being able to save queries, but I used the Test Query button and did get results. I assume that Test Query didn't return anything for you in this case?
Ah, that is an interesting issue :)
scope=all works for me as well, but scope:all does not!
(Notice = vs :).
: seems to be the syntax for the other attributes, scope:created_by_me is the example line. Typo here?
Btw: Many thanks for the blazing fast reaction!!
Forgot to answer on your direct question: Yes, with scope:all the test query button showed the spinner for a while and just returned to show the label, without any results - not even showing NO MRs match this query.
Oh, I just saw that my complete query works only as
scope=all wip:no state=opened, but not
scope:all wip=no state:opened.
Is it string vs boolean?
Or an unintended inconsistency?
Now in Version 11.0.4 (and maybe before as well) it does not work as intended.
scope:all does not return any results, as described above, but
scope=all does not return all results. It returns the same results as scope:created_by_me.
I assume the = instead : is the root error.
We've got a fix coming for this in our next release. Should be in the next couple of days.
Great! Thanks.
@patmuk - Unfortunately, it looks like we're blocked here by a known GitLab issue.
https://gitlab.com/gitlab-org/gitlab/-/issues/22699
I got it working with "Only show PRs from open repos" checked + custom query state:opened.
NB : I also get 500 errors with the direct use of the api (eg in postman) if I do not specify the project id, which I guess is what happens when you activate the "Only show..." checkbox.
Works for me as well, thanks!