Set up a project in GitLab
Use this step-by-step guide to set up and manage projects using GitLab.
Before you start
Ensure that a top-level group exists for your organisation. You can set one up if it does not already exist.
If you are setting up GitLab for the first time for your organisation you should request a top-level group to represent your organisation – for example, a College, Department or other University Institution.
You can request a new top level group by opening a support ticket in the UIS developer hub.
Create a project
Create a new project within your organisational group, or begin working on an existing project.
Projects are containers for hosting and collaborating on code development. They include integrated issue tracking combined with build, test and deployment functionality.
Development normally happens within projects in GitLab. Structurally projects must be members of at least one group, and can be shared between multiple groups. New GitLab users will normally join an existing project and begin working on issues within that project.
Each project contains, by default:
- Repository
- Wiki
- Issues
- Issue Board
- Issue Tracker
Epics
If you will have multiple projects, use epics to view issues with common themes across projects.
Documentation
Use GitLab's wikis to create, add and update documentation about your project.
A Wiki is automatically created at the same time as a new project. When you visit a new Wiki for the first time, you will be prompted to create its 'Home Page.'
Wikis can be updated by any member of a project, provide version control separate from a code repository and are created by default for every GitLab project.
Break work down into tasks and timelines
Issues
Use issues to break down the work you want to deliver into separate tasks and add these to your project. Issues can be created directly in the web interface or by email. They can be moved and shared between different projects, closed and deleted as required.
Every issue has a Design Management page. Use it to store design assets such as wireframes and mock-ups in a single place for easy reference and sharing with everyone involved in a project.
You can learn more about how to work with GitLab issues here:
Please allow social and marketing cookies to show embedded content.
Milestones
Use milestones to determine a date by which different issues need to be completed. Agility is an underpinning concept, so issues can be adapted and moved between different sprints and milestones as your projects progress.
Sprints
Use sprints as a way of scheduling work on different issues together. A sprint usually lasts for a few weeks, and multiple sprints are combined to reach project milestones.
Managing and tracking issues
Use the issue board to manage the issues within a project. Here you can plan, organise, visualise and adapt project workflow and dependencies. You can have multiple issue boards within each project and group.
Use the issue tracker to view of all the issues in a project, or in all projects within a group and optionally apply bulk changes to issues. This view can be searched by creation date, status, label, milestone, or assignee for example.
Assign work
Add teams and people to projects so you can assign issues to them.
Create a development branch
Create a development branch for new work in your project.
GitLab comes with a software development environment similar to GitHub or BitBucket which software developers use to create and collaborate on code. Every project comes with a repository to store your project code and other files under version control.
If your project involves writing software, use branches to store development work in progress.
Each branch is a snapshot of your master code at the point it was branched. When the required functionality is complete this can be merged back into your master code.
Forks
Optionally, create a fork from one or more branches to enable teams and people to work in parallel on areas of functionality.
A fork is a copy of a repository that is held in a separate namespace. Use forks to develop experimental features and functionality that's effectively sand-boxed away from your master code until you are ready to integrate them.
Merge requests
Use Merge Requests to integrate branches or forks back into your master code.
Merge requests enable your team to review and merge code from different forks and branches into your master code.
Planning and tracking
GitLab provides different views of how work a project is progressing.
Use the Issue Tracker to view of all the issues in a project, or in all projects within a group and optionally apply bulk changes to issues. This view can be searched by, for example:
- creation date
- status
- label
- milestone
- assignee
Use Burndown Charts to view and analyse progress towards individual milestones. Use Timelines to get an overview of project progress between milestones.
Please allow social and marketing cookies to show embedded content.