Templates for Group Creation
Release notes
Add the ability to create groups from templates the same way you can for projects. When creating a new group, a 3rd option is available to "create from template".
Problem to solve
An organization may have a standard of how they would like groups setup. Visibility settings, Repo settings, protected environments, etc. Basically anything within the settings area for a group. You also may have different sets for rules for root group vs subgroups or different types of subgroups an organization may have. Doing all this manually would be cumbersome, especially if you need to create multiple groups at a time. Yes, the could be done through the REST API as well, but the ability to specifiy a template file or ID of a pre-existing group would make that process more efficient.
Proposal
Similar to the ability to create projects from templates(or specifying the use_custom_template parameter with the API), add the ability to create groups from templates as well. These could be defined in a Markdown file and stored in the same Templates repo defined in the Admin Area -> Templates -> Templates. Alternatively, a group could be defined by adding a new "Custom group template" section in Admin Area -> Templates. Thus, any subgroup in that specified group could be used as a template, copying over all defined settings.
Intended users
Any user that has allowd the ability to create groups as defined by the instances settings(admins, owners, maintainers, etc.).
Feature Usage Metrics
Unknown. Track how groups are created? However the project template feature is currently tracked?
Does this feature require an audit event?
Yes, same as current group and or project creation