Epic rules are triggered against all subgroups of specified group
GitLab Epic API by default list epics for a specified group + all descendant groups:
https://docs.gitlab.com/ee/api/epics.html#list-epics-for-a-group
Query API used by GitLab Triage looks like:
https://some.domain.com/api/v4/groups/12345/epics?per_page=100&labels=99%29%20Triage%3A%20Missing%20labels&state=opened
which means it preserves the default value and include all the subgroup epics.
When I specify a group ID, I would expect to run Triage only against that group, nothing more. The only way to limit it at the moment is to create a custom ruby
condition and filter based on full_resource_reference
value. I don't have a preference about the default behaviour of Triage, but for sure it should be configurable to turn off include_descendant_groups
.
Edited by Jakub Lański