Defect #40413
openThe issue list fiter "Watched by" only dereferences "watched by group" for "me" value
0%
Description
When using the << me >>
value for the "Watched by" filter on the issue list, group memberships will be dereferenced and issues the user watches via groups will be show in the results (if the user has view_issue_watchers
permission, see #40412).
Group memberships however will not be considered for this filter when using named users for the value of the filter. Groups memberships should also be applied for named users.
Note: This also means that using this filter with << me >>
will produce different results for a user than when the user selects herself In the list.
Updated by Marius BĂLTEANU 7 months ago
- Status changed from New to Needs feedback
Felix Schäfer wrote:
When using the
<< me >>
value for the "Watched by" filter on the issue list, group memberships will be dereferenced and issues the user watches via groups will be show in the results (if the user hasview_issue_watchers
permission, see #40412).
I've confirmed the issue from #40412 and I've also proposed a fix there. << me >>
filter for watchers should also include issues watched by current user groups regardless the permission.
I think we should keep the existing behaviour from other filters that are usingGroup memberships however will not be considered for this filter when using named users for the value of the filter. Groups memberships should also be applied for named users.
<< me >>
. Lets take Assignee filter as example with jsmith
user and a group A team
where jsmith
is member:
- Assignee is
<< me >>
: returns all issues assigned to userjsmith
or user groups (A team
). - Assignee is
jsmith
: returns only issues assigned tojsmith
- Assignee is
A Team
: returns only issues assigned toA team
Note: This also means that using this filter with
<< me >>
will produce different results for a user than when the user selects herself In the list.
Yes, that is correct, << me >>
will produce the results for user and user groups.