Skip to content

How to setup a DevLake project

Prerequisites

  • Devlake has successfully integrated with JIRA
  • Devlake has successfully integrated with Gitlab

Introduction

  • On a high level, a DevLake project can be viewed as a real-world project or product line. It represents a specific initiative or endeavor within the software development domain

  • On a lower level, a DevLake project is a way of organizing and grouping data from different domains

Create Devlake Project

Step 1. Go to Devlake Admin dashboard. In Project tab, click to New Project button

setup_project

Step 2. Create Devlake project

  • Enter Project Name and Enable DORA Metrics. Click Save

setup_project

  • A new project will show at Projects dashboard

setup_project

Add JIRA data connection

Step 1. Now we setup Data Connections for JIRA. Click to Project Setting button

setup_project

Step 2. Click to Add a Connection button

setup_project

Step 3. Choose Connections associated with project. Click Next

setup_project

Step 4. Add data scope (JIRA Boards). Click Save

setup_project

Note: If there no Data Scope appears, you must add Data Scope (JIRA Board) in Devlake JIRA Connection settings. Please read this doc for further instructions.

Step 5. A new connecton will show in Project Configuration tab. Click Collect Data button so Devlake can fetch data from JIRA source

setup_project

  • In tab status, we will see Devlake Pipeline running

setup_project

  • After fetching done, you can visit dashboard to view metrics.

Add Gitlab data connection

Step 1. Choose Connections associated with project. Click Next

setup_project

Step 2. Add data scope (Gitlab project). Click Save

setup_project

Note: If there no Data Scope appears, you must add Data Scope (Gitlab Repository) in Devlake Gitlab Connection settings. Please read this doc for further instructions.

Step 3. A new connecton will show in Project Configuration tab. Click Collect Data button so Devlake can fetch data from JIRA source

setup_project

  • In tab status, we will see Devlake Pipeline running.

setup_project

  • After fetching done, you can visit dashboard to view metrics.

Setup sync policy

Step 1. Go to Project Configuration setting -> Sync Policy

setup_project

Step 2. Setup sync policy for your project. Click Save

There are three settings for Sync Policy:

  • Data Time Range: You can select the time range of the data you wish to collect. The default is set to the past six months.
  • Sync Frequency: You can choose how often you would like to sync your data in this step by selecting a sync frequency option or entering a cron code to specify your prefered schedule.
  • Skip Failed Tasks: sometime a few tasks may fail in a long pipeline; you can choose to skip them to avoid spending more time in running the pipeline all over again.

setup_project