Add search-by-project-path to GitLab Slack Slash Commands
What does this MR do and why?
When using Slack slash commands on GitLab via the GitLab for Slack app, some commands require a project alias in order to perform actions on specific projects. These aliases are set per project in the integration settings page, and when users use the slash commands they need to know the alias for each project.
In this MR, we add the ability to use both the alias and project path, which makes it easier for users to use slash commands without having to memorize aliases.
More information can be found in the issue: https://gitlab.com/gitlab-org/gitlab/-/issues/386430
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
In order to test Slack Slash commands in a development environment, Slack needs to have direct access to the GitLab instance. In order to achieve, this, the required approach is to use GitPod.
Instructions on how to set up this test can be found here.
To make testing easier, I already have a test environment available on GitPod, and I can share the credentials privately to the reviewer since the instance is accessible via the internet.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.