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.

settings
user_level

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

preference

Then, click the Connect to Gitlab button.

manage

Step 3

On the Connect to GitLab page, There will be 2 Environments in which you can connect, They are :

  1. Cloud
  2. 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.

environment

Step 4

Once connected, select the key result for which you want to make the GitLab connection.

decrease_kr

Edit the key result, click the Automate Check-ins checkbox, and select GitLab.

automate_checkin

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.

project

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.

group

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.

group_checkin

Finally, you can Update it to make progress to your key result.

checkin_update

kr_progress

For Percentage Tracked

Once connected, select the key result and edit the key result for which you want to make the GitLab connection.

enhance

Click the Automate Check-ins checkbox and Choose GitLab from the dropdown.

edit_kr

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.

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.

kr

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.

project_ci-1

completed

Note:

  1. Profit.co supports Percentage tracked, Increase, Decrease, and Control KPI for the GitLab Integration.
  2. The automatic check-in will happen every day at 09:00 AM based on the user region.