GitLab is an open-source code repository and collaborative software development platform for large DevOps and DevSecOps projects.
What can you do with Profit.co and GitLab integrations?
You can track the status of issues in GitLab by integrating with Profit.co key results and track the progress.
Configure GitLab for Profit.co
Note: Only the Super user can enable the GitLab Integration after that all the users can configure the GitLab Integration
Step 1
Navigate to Settings from the left navigation panel.
Click on Integrations, On the Connectors page, select the User Level tab and enable the GitLab toggle.
Step 2
Navigate to Preference from the left navigation panel, select the Integrations tab, and click on the GitLab Manage button to make a connection
Then, click the Connect to Gitlab button.
Step 3
On the Connect to GitLab page, There will be 2 Environments in which you can connect, They are :
- Cloud
- Self-Hosted
For cloud-based GitLab
Enter the Connection Name. Select the required environment. Then, input the Access Token. Finally, click the “Connect” button to complete the configuration.
Note: When selecting the access token, choose the “read_api, read_user, read_repository” option exclusively.
Step 4
Once connected, select the key result for which you want to make the GitLab connection.
Edit the key result, click the Automate Check-ins checkbox, and select GitLab.
On the Connect to GitLab page, select the required connection and choose either Project or Group.
If you select a project, choose the required Projects, Assignee, and Status. The Current value will be displayed, which represents the number of issues. Click on Add.
Note: You can also set the Current Value as Start value by clicking on the Set as Start value checkbox.
Similarly, if you select Group, choose the required Group and Plan (Epic or Milestone) and Status. The Current value will be displayed, which represents the number of issues. Click on Add.
Step 5
Once the key result is successfully created, click on the Check-in button and complete the Check-in to update the status value in the key result.
You can Check-in to make progress to your key result.
Finally, you can Update it to make progress to your key result.
For Percentage Tracked
Once connected, select the key result and edit the key result for which you want to make the GitLab connection.
Click the Automate Check-ins checkbox and Choose GitLab from the dropdown.
On the Connect to GitLab page, select the required connection and choose either Project or Group.
If you select a project, choose the required Project, and Issues. Similarly if you select Groups, choose the required Group, Plan (Epic or Milestone) and the Issues.
For instance, select Project, choose the required Project and Issues and click Add.
Once the Key Result is successfully created, click on the Check-in button and complete the Check-in to update the status value in the key result.
Note: In the single issue a check-in value of 0 indicates it’s a Open issue, while a value of 100 signifies that it’s a closed issue.
Note:
- Profit.co supports Percentage tracked, Increase, Decrease, and Control KPI for the GitLab Integration.
- The automatic check-in will happen every day at 09:00 AM based on the user region.