Open msamorukov opened 1 year ago
Hi! It's possible, but why? the list of users can be huge, wouldn't it be better to use groups.
Maybe I misunderstood, I need details or an example
Our case,
Issue initially assigned to group, eg "Java support team". Everybody from this team are notified about new issue and then somebody from group re-assign issue to self. But group now in watchers list.
I would like to auto-watch feature only for individuals, not groups.
I agree, this is specific case, but generally I would some filtering functionality -- eg, do not auto-add user/group to watchers by some mask, like "*support team".
Could you advise, if I comment lines 13-16 here: https://github.com/terentev-mn/watchers/blob/main/lib/tw_watchers.rb would it will be enough for my purposes?
Thank you!
Do you mean put in plugin options checkbox:
Yes, this would be great.
Either checkboxes auto-assign creator/users/groups, and/or filters -- auto assign users/groups who match/does not match mask.
Done, please check it. By the way, I using ldap auth (freipa) and I have no users, I see only groups and myself in watchers list. But when I tested plugin I used internal auth and there I saw all users and groups.. Its very strange behavior..
Anyway, i hope i helped you.
In this versions, the same behavior. When issue created and initially assigned to group, this group auto-added to watchers list. When issue re-assigned, nothing happen.
May be I do not understand meaning of new checkboxes...
Thank you for plugin.
Is there a way to configure list of watchers to add automatically? Specifically, add only users but not groups?