I. What is GitLab Assistant
GitLab Assistant is a functional tool developed by the Feishu team. It allows you to get real-time development updates in Feishu, making it easier to track, manage and communicate your development process.
II. How to Configure GitLab Assistant
Configure GitLab system address(app admin)
The tenant admin can go to GitLab Assistant in the management backstage, and configure the internal GitLab address for the company at the App management backstage.
- •Go to in Feishu, and find GitLab Assistant in App List
- •Click on Edit to configure the system address
Set up webhook-related projects and groups (project manager)
- •The project manager adds the GitLab Assistant bot to a group chat.
- •The project manager sends the get webhook command via @GitLab Assistant to obtain the webhook address for the group
@GitLab Assistant get_webhook
- •The group admin will receive the webhook address from the bot
Only the admin will receive the address. Please contact the admin if you would like to obtain the address
- •Go to Settings in GitLab, and configure the webhook address and related Triggers in Integrations
Log in to GitLab Assistant (individual user)
- •Go to the GitLab homepage used in the company and click on Settings
- •In User Settings, go to Access Tokens, check the Scopes of webhook, and click on Create personal access token
- •Get your new personal access token
- •Copy the token and bind it via the command below in the conversation with the GitLab Bot
@GitLab Assistant set_access_token {username} {access_token}
Your user name is the email prefix of your Gitlab account. As shown below, the user name is Naseer Ahmed
- •Or copy the token and bind it in the login page of the GitLab mini program on your mobile devices. Set access_token in the login page.
III. How to use GitLab Assistant
Bot
- •Use the help command to get help from the bot command
@GitLab Assistant help
View the capabilities provided by the bot in the group or in the chat with the bot
- •Get the webhook address (only for group admin)
@GitLab Assistant get_webhook
A new webhook address will be created if there is none; an existing address will be returned
- •Update the webhook address (only for group admin)
@GitLab Assistant reset_webhook
Mini Program
- •You will need to bind your personal token to log in for the first time. After that, you can automatically log in to the mini program
- •You can view the information in Pull Request and Issues
- •You can see more details in the Detail page of Pull Request and Issues. You can also comment and interact with others.
- •Your personal information will be displayed in Personal Settings. You can log out any time.
Message Card
Once you have configured the webhook address and link the bot to related groups, the bot will send message cards to the groups. The message cards include notifications of a merge request, a new issue or a new comment