Projects
All users get access to projects, but only pro and enterprise users can create, update, or delete them.
This document explains how Unleash uses projects, including how to create and maintain them.
The default project
All users get access to the default project. You cannot delete this project. You can, however, rename it if you're using the pro or enterprise version of Unleash.
Understanding purpose of projects
Projects are a way to organize your feature flags within Unleash. Within a large organization, having multiple feature flags, staying on top of the feature flags might become a challenge. Every feature flag will be part of a project. Projects can be linked to a development team or to functional modules within the software.
A common pattern is to organize the feature flags according to key areas of the application, e.g. “Basic user process” and “Advanced user process”. This is illustrated below.
Projects and environments
You can configure which environments should be available within a project. By default, all globally available environments are available. You can only enable/disable a feature flag for the environments you configure for a project.
Within the admin UI, the projects are available under the "environments" tab of the project page. Changing them requires the project owner role.
Creating a new project
When you log into Unleash for the first time, there is a Default project already created. All feature flags are included in the Default project, unless explicitly set to a different one.
From the top-line menu – click on “Projects”
The UI shows the currently available projects. To create a new project, use the “new project” button.
The configuration of a new Project is now available. the following input is available to create the new Project.
Item | Description |
---|---|
Project Id | Id for this Project |
Project name | The name of the Project. |
Description | A short description of the project |
Mode | The project collaboration mode |
Default Stickiness | The default stickiness for the project. This setting controls the default stickiness value for variants and for the gradual rollout strategy. |
Deleting an existing project
To keep your feature flags clean, removing deprecated projects is important. From the overview of Projects –
- In the top right of the project card, find the project menu represented by three vertical dots.
- Click on Delete Project
Filter feature flags on projects
When browsing the feature flags in Unleash, you might want to filter the view by looking only at the ones included in the project of interest. This is possible from the Feature flag overview.
From the UI top navigation menu, choose "Feature flags".
The list of features flags can be filtered on the project of your choice. By default, all feature flags are listed in the view. You can use the search to filter to a specific project or even for multiple projects in the same time if you need.
In the search you can type "project:specific-name" to filter that project only.
The view will now be updated with the filtered feature flags.
Assigning project to a new feature flag
When you create a new feature flag, you can choose which project to create it in. The default project is whatever project you are currently configuring.
All available projects are available from the drop-down menu.
Change project for an existing feature flag
If you want to change which project a feature flag belongs to, you can change that from the feature flag's configuration page. Under the settings tab, choose the project option and choose the new project from the dropdown menu.
Project default strategy
The project default strategy feature is generally available starting with Unleash 5.2.0.
You can define default strategies for each of a project's environments. The default strategy for an environment will be added to a feature when you enable it in an environment if and only if the feature has no active strategies defined.
All default project strategies use the gradual rollout activation strategy. By default, the rollout 100%. You can customize the strategies by changing the rollout percentage and adding constraints and segments as you would for any other strategy.
Configuration
Custom strategies are configured from each project's project settings tab.
The default strategies screen lists a strategy for each of the project's environments
Project overview
The project overview gives statistics for a project, including:
- the number of all changes/events in the past 30 days compared to previous 30 days
- the average time from when a feature was created to when it was enabled in the "production" environment. This value is calculated for all features in the project lifetime.
- the number of features created in the past 30 days compared to previous 30 days
- the number of features archived in the past 30 days compared to previous 30 days