Skip to content

GitLab for Slack App - Ability to inherit workspace connection

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

With the GitLab for Slack App, it appears that only the "Trigger" and "Notification Settings" are inherited by subgroups and/or projects when "Use default settings" is set for the integration at those levels.

The actual authentication and link to the Slack workspace (where you see "Workspace name"), looks as though it has to be setup individually per project/subgroup etc. So the "Install GitLab for Slack app..." button would need to be clicked to create the link to the Slack workspace individually at each level/item.

This issue is to propose the ability for the workspace connection already created at a higher level to be inheritable at a subgroup and/or project level if desired, so that it doesn't need to be setup repeatedly/on an individual project basis.

Current behavior / replication steps

  1. Create a group with projects underneath it. (You can also create subgroups and projects beneath those, the result is the same).

  2. Configure the GitLab for Slack App on the group.

    image

  3. Check the GitLab for Slack App integration configuration on a project under the group that was created. The integration shows as "Active", however when checking "Use default settings", only the "Trigger" and "Notification settings" are inherited. You cannot see any Slack workspace link, but rather you're presented with an "Install GitLab for Slack app..." button to set up a connection. Attempting actions within the project that should trigger a Slack interaction, will result in nothing occurring until you actually setup the connection.

    image

What is the desired behavior?

The desired behavior would be to have an option for the connection to the Slack workspace to be inheritable for this integration at a subgroup and/or project level, so that it isn't necessary to repeat the OAuth setup on every project after having already set it up at a higher level.

Additional notes

  • This was replicated on GitLab.com - 18.3.0-pre ab04f76b0ab
Edited by 🤖 GitLab Bot 🤖