Issue boards don't display issues in lists if scoped for more than one scoped label
Summary
If an issue board is created and scoped to show issues from more than one scoped label those issues will not appear in the lists created for them. If the board is scoped to only a single scoped label, issues will be displayed with that label as expected.
Steps to reproduce
- Create a top-level group on GitLab.com that is on
Silver
or higher. - Create a project with Issues enabled in the group you just created.
- Create at least two scoped labels at the group level.
- Create two issues within the project you created in step 2.
- Apply a single scoped label of the two you created in step 3 to each issue.
- Create a new group level issue board that is scoped to only a single scoped label and then create a list for that scoped label in that board.
- Observe that the list contains the issue you created.
- Create another board and scope it to both scoped labels and then create a list for each scoped label in that board.
- Observe that no issues are displayed in either list.
Example Project
What is the current bug behavior?
Currently, if an issue board is scoped to more than one scoped label any issues with those labels will not appear in lists created on that board for those scoped labels.
What is the expected correct behavior?
We (hopefully) expect that an issue board that is scoped to any number of scoped labels and has a list created for each will display any issue with a scoped label applied that is within the scope of the board.
Output of checks
This bug happens on GitLab.com: GitLab Enterprise Edition 12.2.0-pre 0874a8d346c
ZD: https://gitlab.zendesk.com/agent/tickets/128679 (Internal)
cc @gweaver