Gitlab Connector
The GitLab connector allows users to sync issues from GitLab repositories to other work systems such as Jira, Azure DevOps, and more. This guide provides detailed steps on setting up the GitLab connector, configuring sync processes, and managing synchronization settings.
Setting Up the GitLab Connector
To set up the GitLab connector in SyncNow, follow these steps:
-
Navigate to the Connectors Page
- Access the "Connectors" page from the main menu.
-
Add a New Connector
- Press the "Add Connector" button to create a new connector.
- Select "GitLab" from the list of available connectors.
-
Configure the GitLab Connector
- Name: Enter a unique name for the GitLab connector.
- Username and Token: Provide the GitLab username and a personal access token. The token must have the necessary permissions to access the repository and manage webhooks.
-
Webhooks Security Configuration
- Authentication Method: Choose how to authenticate webhooks with SyncNow:
- Anonymous: No authentication required.
- IP Address/Range: Restrict access to specific IP addresses or ranges.
- SyncNow Username/Token: Use SyncNow credentials for authentication.
- Authentication Method: Choose how to authenticate webhooks with SyncNow:
-
Save and Validate
- Click the "Save" button to save the connector settings.
- Press the "Validate" button to ensure the connection to GitLab is correctly configured.
Once the GitLab connector is set up and validated, users can proceed to create sync processes to synchronize data between GitLab and other work systems.
Creating a Sync Process
After configuring the GitLab connector, follow these steps to create a sync process:
-
Navigate to the Sync Processes Page
- Access the "Sync Processes" page from the main menu.
-
Add a New Sync Process
- Press the "Add Sync Process" button to start configuring a new sync process.
-
Select GitLab Repository
- Choose the GitLab repository you want to sync issues from.
-
Configure Sync Filters
- Filter Criteria: Select the GitLab fields and specify the values to filter issues. Multiple fields can be selected, and they will be checked using an AND clause.
- Example: Filter issues where
label = bug
andstate = open
.
-
Select Synchronization Mapping
- Predefined Template: Choose from predefined templates for mapping issues to another work system.
- Custom Mapping: Create your own mapping by selecting:
- Entity Mapping: Map GitLab issues to corresponding entities in the target work system (e.g., Jira tickets, Azure DevOps work items).
- Field Mapping: Map specific fields from GitLab issues to fields in the target work system.
-
Synchronization Method
- Real-time Sync: Select this option to use webhooks for real-time synchronization. SyncNow will automatically register the necessary webhooks in GitLab during the activation of the first sync process.
- Timer Sync: Choose this option to synchronize data at regular intervals.
-
Save and Activate
- Click the "Save" button to save the sync process settings.
- Activate the sync process to start synchronizing data between GitLab and the target work system.