gitlab search with OR behavior
@prarit @zaquestion, I was discussing with some work colleagues last week how GitLab doesn't have an easy way of performing ORed searches in issues and MRs.
From the docs, the search terms are concatenated with the AND operation, and, consequently, the only option for searching in a OR way is by searching multiple times (separately), which is, IMHO, a really cumbersome/impractical approach.
One interesting use for ORing during a search is, for instance, if I want to see what MRs/issues are assigned to two different developers from my team, being both assigned to the same or not. Or searching for issues I and another colleague may be set as "assignee" (we both, or at least one of us). Or whatever other thing.
What do you guys think about enabling such functionally in lab?
Is it something we want to have and support in lab or should we keep things closer to how GitLab expects by design?
To get it done we still need some additional support from go-gitlab lib, in order to allow search with multiple authors/assignees using the default AND behavior in a single API request. But for now, I just would like to hear from you guys what you think.
Ok, the idea is worth considering, but we can't implement it yet... go-gitlab folks warned me that the "AND" feature isn't officially present in gitlab's API doc, so they can't add/support it, which I completely agree. Once we have the basic functionality available, we can revisit it.
I think you should keep this open. It's something for future work.
That might be possible using the Gitlab Advanced search, and I see that go-GitLab does support it.