Resolve "Scope users by group inside dropdowns if I'm on group page (Issue, MRs)"

What does this MR do?

This retrieve the current group ID in the user dropdowns on the group's issuable list page so that only the group's members are returned in the filtering dropdowns (author and assignee).

Are there points in the code the reviewer needs to double check?

The data-group-id is already set on the search filter input (, the only missing part was to retrieve it on the JS side.

Why was this MR needed?

To make the scoping of users consistent between the project's issuable list page and the group's issuable list page, as noted here:


For the following group members:


Before After
before0 after0
before1 after1

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #20824 (closed)

Edited by username-removed-128633

Merge request reports