Situation
I would like to send out notifications to specific top-level groups including all of their subgroups and projects.
As stated in Broadcast messages | GitLab it is possible to use an asterisk as a wildcard to achieve that, which is exactly what I need:
However… I cannot prevent showing the notification or banner for a group, which starts with exactly the same string:
What I tried:
Target Path = /name*
/name
/name/subgroup
/name/project
but shows also in :
/name2
/name2/subgroup
/name3… etc
Target Path = /name
/name
/name/subgroup
/name/project
Target Path = /name/*
/name
/name/subgroup
/name/project
What I need:
Target Path = \/name(\/.*)?
/name
/name/subgroup
/name/project
does not show in :
/name2
/name2/subgroup
/name3… etc
Just to make sure, I also tried entering the regex, but as the documentation only mentioned the asterisk I didn’t expect it to work and it didn’t ( \/name(\/.*)?
My question
Am I missing something here? Or would I have to resort to creating two different notifications to achieve what I want? (e.g. /name
for only the top-level group and /name/*
for all subgroups and projects).
Thank you for reading!